[webkit-dev] InspectorDebuggerAgent::didPause function
yurys at chromium.org
Tue Oct 19 06:12:58 PDT 2010
There is no need to differentiate between pause due to an exception and due
to a breakpoint hit and there are no means to determine that in
InspectorDebuggerAgent::didPause. Detailed information about the break event
is available in WebCore/bindings/v8/ScriptDebugServer::handleV8DebugEvent(I
believe it can be retrieved in WebCore/bindings/js/ScriptDebugServer too)
where we can say whether it was an exception or not, we just don't push it
to InspectorDebuggerAgent since we don't need it in the front-end.
On Tue, Oct 19, 2010 at 5:01 PM, Tomasz Morawski <t.morawski at samsung.com>wrote:
> Is there any way to get know if InspectorDebuggerAgent::didPause call was
> due to an exception or not? I have tried to use scriptState->hadException()
> inside this function but it seems that the hadException function always
> returns false.
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev