summaryrefslogtreecommitdiff
path: root/ace
diff options
context:
space:
mode:
authorbrunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-10-25 16:34:43 +0000
committerbrunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-10-25 16:34:43 +0000
commit9b8862d3e5d6b528b21d7f9baba0294a16afbc17 (patch)
tree65aefc38c31569d2952ad28a2b3800a74b6481f6 /ace
parente019cb384611084ef8186b8ac46e532f60839d03 (diff)
downloadATCD-9b8862d3e5d6b528b21d7f9baba0294a16afbc17.tar.gz
ChangeLogTag:Wed Oct 25 09:32:10 2000 Darrell Brunsch <brunsch@uci.edu>
Diffstat (limited to 'ace')
-rw-r--r--ace/Object_Manager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ace/Object_Manager.cpp b/ace/Object_Manager.cpp
index 6c68a902649..106c99057ff 100644
--- a/ace/Object_Manager.cpp
+++ b/ace/Object_Manager.cpp
@@ -270,9 +270,11 @@ ACE_Object_Manager::init (void)
# endif /* ACE_HAS_TSS_EMULATION */
#if defined (ACE_DISABLE_WIN32_ERROR_WINDOWS)
+#if defined (_DEBUG)
// This will keep the ACE_Assert window
_CrtSetReportMode( _CRT_ERROR, _CRTDBG_MODE_FILE );
_CrtSetReportFile( _CRT_ERROR, _CRTDBG_FILE_STDERR );
+#endif /* _DEBUG */
// And this will catch all unhandled exceptions.
SetUnhandledExceptionFilter (&ACE_UnhandledExceptionFilter);