[commit] r1890 - trunk/GME/Gme

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Tue Apr 17 16:35:14 CDT 2012


Author: ksmyth
Date: Tue Apr 17 16:35:14 2012
New Revision: 1890

Log:
If a Debugger is attached, dont use CrashRpt

Modified:
   trunk/GME/Gme/GMEApp.cpp

Modified: trunk/GME/Gme/GMEApp.cpp
==============================================================================
--- trunk/GME/Gme/GMEApp.cpp	Tue Apr 17 16:35:04 2012	(r1889)
+++ trunk/GME/Gme/GMEApp.cpp	Tue Apr 17 16:35:14 2012	(r1890)
@@ -545,6 +545,7 @@
 #ifdef _DEBUG
 	bNoProtect = true;
 #endif
+	bNoProtect = bNoProtect || static_cast<bool>(IsDebuggerPresent());
 	if (!bNoProtect) {
 		if (crInstall(&info) != 0)
 		{


More information about the gme-commit mailing list