diff --git a/radiant/main.cpp b/radiant/main.cpp index 31b3801a..02eadcb6 100644 --- a/radiant/main.cpp +++ b/radiant/main.cpp @@ -924,7 +924,7 @@ int mainRadiant( int argc, char* argv[] ) { } -#if defined( _WIN32 ) && defined( _MSC_VER ) +#if defined( _WIN32 ) && defined( _MSC_VER ) && !defined( _DEBUG ) #include #include #include @@ -967,7 +967,7 @@ int GenerateDump( EXCEPTION_POINTERS* pExceptionPointers ) { int main( int argc, char* argv[] ) { -#if defined( _WIN32 ) && defined( _MSC_VER ) +#if defined( _WIN32 ) && defined( _MSC_VER ) && !defined( _DEBUG ) __try { return mainRadiant( argc, argv ); } __except( GenerateDump( GetExceptionInformation() ) ) {