Ignore:
Timestamp:
Jul 10, 2009, 4:00:13 PM (16 years ago)
Author:
[email protected]
Message:

JavaScriptCore:

2009-07-10 Kevin McCullough <[email protected]>

Reviewed by Geoffrey Garen.

  • debugger/Debugger.h: Made this function virtual for use in WebCore's WebInspector.

WebCore:

2009-07-10 Kevin McCullough <[email protected]>

Reviewed by Geoffrey Garen.

  • inspector/JavaScriptCallFrame.cpp: (WebCore::JavaScriptCallFrame::dynamicGlobalObject):
  • inspector/JavaScriptCallFrame.h: New helper method, used below.
  • inspector/JavaScriptDebugServer.cpp: (WebCore::JavaScriptDebugServer::detach): In the special case where we detach from a window currently executing JavaScript, manually tear down our representation of the JavaScript call stack, since we won't get any more callbacks from JavaScriptCore to automatically tear it down. It's too bad that WebCore is responsible for this kind of tracking -- in the future, it would be nice if more of the breakpoint handling was inside of JavaScriptCore.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/debugger/Debugger.h

    r44224 r45733  
    3939
    4040        void attach(JSGlobalObject*);
    41         void detach(JSGlobalObject*);
     41        virtual void detach(JSGlobalObject*);
    4242
    4343        virtual void sourceParsed(ExecState*, const SourceCode&, int errorLine, const UString& errorMsg) = 0;
Note: See TracChangeset for help on using the changeset viewer.