DescriptionWhen message handler is set to NULL and there is no debugger listener the debugger is unloaded immediately unless it's entered, in which case it will be unloaded when last instance of EnterDebugger is destroyed.
Without the change the debugger may crash as Debugger::EventActive(v8::Break) called from OnDebugBreak may clear current debugger context.
Also when compilation cache was enabled debugger could fail on second attach for the same reason(see AfterCompileMessageWhenMessageHandlerIsReset).
BUG=12404
Committed: http://code.google.com/p/v8/source/detail?r=2035
Patch Set 1 #Patch Set 2 : '' #
Total comments: 12
Patch Set 3 : '' #
Messages
Total messages: 4 (0 generated)
|