15 #ifndef INCG_IRIS_IUTEST_DEBUG_HPP_A63366D4_2112_4269_9BAF_BD30A5F2C7F2_
16 #define INCG_IRIS_IUTEST_DEBUG_HPP_A63366D4_2112_4269_9BAF_BD30A5F2C7F2_
18 #if defined(_IUTEST_DEBUG)
21 #if defined(_MSC_VER) && !defined(IUTEST_OS_WINDOWS_MOBILE)
27 # define _DEBUG_NEW_ new ( _NORMAL_BLOCK , __FILE__, __LINE__)
28 # pragma push_macro("new")
29 # define new _DEBUG_NEW_
41 static void IUTEST_ATTRIBUTE_UNUSED_ iuDebugInitialize()
44 # if defined(_MSC_VER) && !defined(IUTEST_OS_WINDOWS_MOBILE)
45 _CrtSetDbgFlag( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF );
50 static void IUTEST_ATTRIBUTE_UNUSED_ iuDebugBreakAlloc(
long n)
53 # if defined(_MSC_VER) && !defined(IUTEST_OS_WINDOWS_MOBILE)
60 #if defined(_MSC_VER) && IUTEST_HAS_MINIDUMP
71 bool Dump(HANDLE hFile, EXCEPTION_POINTERS* ep);
76 static bool Create(
const char* filepath, EXCEPTION_POINTERS* ep);
80 FARPROC m_pfnMiniDumpWriteDump;
89 # include "../impl/iutest_debug.ipp"
iutest root namespace
Definition: iutest_charcode.hpp:33