Request for review (S): 7022037: Pause when exiting if a debugger is attached on windows
staffan.larsen at oracle.com
Thu Feb 24 05:49:42 PST 2011
When running in Visual Studio the console window is closed as soon as the debugged process ends (whether it is a normal end or an assert). This makes it impossible to see the output from the process after it has ended.
Suggested fix: At the end of normal execution we can check if a debugger is present and wait for a keypress before exiting. At the end of an assert we also check if a debugger is attached and use the same method as -XX:+ShowMessageBoxOnError to catch the error in the debugger.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the hotspot-runtime-dev