mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
7022037: Pause when exiting if debugger is attached on windows
Reviewed-by: dsamersoff, kamg, hosterda
This commit is contained in:
parent
52708b0603
commit
cc6f461357
11 changed files with 63 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue