Tim Ellison wrote:
Gregory Shimansky wrote:
Mark Hindess wrote:
Gregory, why did you want it to be optional? Do you use this option?
The reason is quite simple. When VM crashes it is much easier to debug
it right at the spot of the crash. On Windows it is done with Just In
Time debugging facility, on Linux core dump is useful. DRLVM with can
and does detect the condition when crash happens inside of VM and when
it is ran with -XDassert_dialog=true (default) does not try to do
anything intelligent like printing stack. This allows debugging at the
spot of the crash.
When launcher installs its own handler it catches the crash. Even though
it can print registers and maybe some stack symbols, it is not as good
as using full fledged debugger to analyze the problem.
I think Mark meant, if it is optional when would you want to have the
signal hander installed by the launcher?
Hmm I am not sure, maybe it could be used to catch crashes in launcher
itself and porting code which it calls before running the VM. Other than
that I don't see any value in exception handler that is installed by the
launcher.
--
Gregory