7022037: Pause when exiting if debugger is attached on windows

Reviewed-by: dsamersoff, kamg, hosterda
This commit is contained in:
Staffan Larsen 2011-02-28 14:19:52 +01:00
parent 52708b0603
commit cc6f461357
11 changed files with 63 additions and 5 deletions

View file

@ -802,7 +802,7 @@ void VMError::report_and_die() {
first_error_tid = mytid;
set_error_reported();
if (ShowMessageBoxOnError) {
if (ShowMessageBoxOnError || PauseAtExit) {
show_message_box(buffer, sizeof(buffer));
// User has asked JVM to abort. Reset ShowMessageBoxOnError so the