rev 2110 : [mq]: is-debugger-present
@@ -800,11 +800,13 @@ // first time first_error_tid = mytid; set_error_reported(); - if (ShowMessageBoxOnError) { + 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;