20 #if defined(WIN32_VC) && defined(_DEBUG)
22 #define USE_WIN32_DBGHEAP
26 Configure(config_interrogatedb);
27 NotifyCategoryDef(interrogatedb,
"");
29 ConfigureFn(config_interrogatedb) {
32 #ifdef USE_WIN32_DBGHEAP
36 int dbg_flags = _CrtSetDbgFlag( _CRTDBG_REPORT_FLAG );
38 if (use_win32_dbgheap.get_string_value() ==
"full") {
40 dbg_flags |= (_CRTDBG_ALLOC_MEM_DF | _CRTDBG_CHECK_ALWAYS_DF |
41 _CRTDBG_CHECK_CRT_DF);
46 if (!use_win32_dbgheap) {
54 if (win32_report_leaks) {
58 dbg_flags |= _CRTDBG_LEAK_CHECK_DF;
61 _CrtSetDbgFlag(dbg_flags);
66 (
"interrogatedb-path",
"The search path for interrogate's *.in files.");