[Webkit-unassigned] [Bug 43332] [JSC] Web Inspector: implement breaking from native callback

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 31 05:03:02 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=43332


Yury Semikhatsky <yurys at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #145039|review?                     |review-
               Flag|                            |




--- Comment #9 from Yury Semikhatsky <yurys at chromium.org>  2012-05-31 05:03:02 PST ---
(From update of attachment 145039)
View in context: https://bugs.webkit.org/attachment.cgi?id=145039&action=review

> Source/WebCore/ChangeLog:10
> +        No test. No impact on others interface of JSC.

There is a bunch of layout tests in LayouTests/inspector/debugger disabled for JSC because of this bug. You should enable them if the functionality is now fixed.

> Source/WebCore/bindings/js/ScriptDebugServer.cpp:158
> +    m_paused = true;

This is not what we expect this method to do, you should run message loop here until the execution is resumed like in case if a regular JS breakpoint. Probably the following code will work:

m_pauseOnNextStatement = true;
pauseIfNeeded(m_currentCallFrame->dynamicGlobalObject());

> Source/WebCore/bindings/js/ScriptDebugServer.h:88
> +    bool supportsNativeBreakpoints() { return true; }

This method now can be removed from both Source/WebCore/bindings/{js,v8}/ScriptDebugServer.h as it returns the same value.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list