src/share/vm/utilities/vmError.cpp
Print this page
rev 2110 : [mq]: is-debugger-present
@@ -800,11 +800,13 @@
// first time
first_error_tid = mytid;
set_error_reported();
- if (ShowMessageBoxOnError) {
+ if (ShowMessageBoxOnError ||
+ (Arguments::created_by_gamma_launcher() && 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;