src/share/vm/utilities/vmError.cpp

Print this page
rev 2110 : [mq]: is-debugger-present

*** 800,810 **** // first time first_error_tid = mytid; set_error_reported(); ! if (ShowMessageBoxOnError) { show_message_box(buffer, sizeof(buffer)); // User has asked JVM to abort. Reset ShowMessageBoxOnError so the // WatcherThread can kill JVM if the error handler hangs. ShowMessageBoxOnError = false; --- 800,812 ---- // first time first_error_tid = mytid; set_error_reported(); ! if (ShowMessageBoxOnError || ! (PauseAtExit && os::is_debugger_attached())) ! { show_message_box(buffer, sizeof(buffer)); // User has asked JVM to abort. Reset ShowMessageBoxOnError so the // WatcherThread can kill JVM if the error handler hangs. ShowMessageBoxOnError = false;