Request for review (S): 7022037: Pause when exiting if a debugger is attached on windows
staffan.larsen at oracle.com
Thu Feb 24 06:49:07 PST 2011
> Does the method IsDebuggerPresent() distinguish between Visual
> windbg, cdbg, adplus and so one?
No, I think it works for all of them. See: http://msdn.microsoft.com/en-us/library/ms680345(VS.85).aspx
> Can we automatically turn this future off when debugging remote JVM
> or windows service?
I'm not sure how to do that, but I added an option to turn it off manually: -XX:-PauseAtExit
> Can we detect JVM launched by custom launcher (not a java.exe) and
> turn this future off in this case (custom launcher could have no console)?
Don't know how to do that automatically. I'm actually mostly interested in having it turned on for the hotspot.exe launcher.
More information about the hotspot-runtime-dev