[webkit-dev] InspectorDebuggerAgent::didPause function
jamey.hicks at nokia.com
jamey.hicks at nokia.com
Tue Oct 19 06:57:37 PDT 2010
Hi Tomasz,
I don't have time to update the Web Inspector UI to use this feature, but I'll find the patch and upload it to bugs.webkit.org and CC you. We used it with our frontend that adds Eclipse Chrome Dev Tools support with QtWebKit which currently uses JSC rather than V8.
Jamey
On Oct 19, 2010, at 9:44 AM, ext Tomasz Morawski wrote:
> Hi Jamey,
> Yes, I am using JSC.
>
>> I have a patch for JavaScriptCore to let you determine if an exception
>> happened and what it was, if you're using JSC instead of V8.
> Could you provide this patch?
>
>> We found that users of the front-end wanted to know if the pause was due
>> to an exception, and if so, what it was.
> Yes, it is very useful. Is there any plans to add this feature into
> WebKit?
>
> Thanks,
>
>
>> Jamey
>>
>> On Oct 19, 2010, at 9:12 AM, ext Yury Semikhatsky wrote:
>>
>>> Hi Tomasz,
>>>
>>> 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.
>>>
>>> -yury
>>>
>>> On Tue, Oct 19, 2010 at 5:01 PM, Tomasz Morawski
>>> <t.morawski at samsung.com <mailto:t.morawski at samsung.com>> wrote:
>>>
>>> Hi,
>>> 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.
>>>
>>> Thanks,
>>> _______________________________________________
>>> webkit-dev mailing list
>>> webkit-dev at lists.webkit.org <mailto:webkit-dev at lists.webkit.org>
>>> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>>>
>>>
>>> <ATT00001..txt>
>>
>
More information about the webkit-dev
mailing list