Request for review (S): 7022037: Pause when exiting if a debugger is attached on windows
henrik.osterdahl at oracle.com
Thu Feb 24 06:16:49 PST 2011
On 2011-02-24 14:49, Staffan Larsen wrote:
> 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
> 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.
This functionality already exists in JRockit and is very useful.
More information about the hotspot-runtime-dev