Mercurial > hg > graal-compiler
comparison src/share/vm/utilities/vmError.cpp @ 2302:da091bb67459
7022037: Pause when exiting if debugger is attached on windows
Reviewed-by: dsamersoff, kamg, hosterda
author | sla |
---|---|
date | Mon, 28 Feb 2011 14:19:52 +0100 |
parents | 63d374c54045 |
children | f08d439fab8c |
comparison
equal
deleted
inserted
replaced
2301:f91db74a6810 | 2302:da091bb67459 |
---|---|
800 | 800 |
801 // first time | 801 // first time |
802 first_error_tid = mytid; | 802 first_error_tid = mytid; |
803 set_error_reported(); | 803 set_error_reported(); |
804 | 804 |
805 if (ShowMessageBoxOnError) { | 805 if (ShowMessageBoxOnError || PauseAtExit) { |
806 show_message_box(buffer, sizeof(buffer)); | 806 show_message_box(buffer, sizeof(buffer)); |
807 | 807 |
808 // User has asked JVM to abort. Reset ShowMessageBoxOnError so the | 808 // User has asked JVM to abort. Reset ShowMessageBoxOnError so the |
809 // WatcherThread can kill JVM if the error handler hangs. | 809 // WatcherThread can kill JVM if the error handler hangs. |
810 ShowMessageBoxOnError = false; | 810 ShowMessageBoxOnError = false; |