Changeset 155586 in webkit for trunk/Source/JavaScriptCore/debugger/Debugger.h
- Timestamp:
- Sep 11, 2013, 7:26:14 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/debugger/Debugger.h
r148696 r155586 27 27 namespace JSC { 28 28 29 30 31 32 33 34 29 class DebuggerCallFrame; 30 class ExecState; 31 class VM; 32 class JSGlobalObject; 33 class JSValue; 34 class SourceProvider; 35 35 36 37 38 36 class JS_EXPORT_PRIVATE Debugger { 37 public: 38 virtual ~Debugger(); 39 39 40 41 40 void attach(JSGlobalObject*); 41 virtual void detach(JSGlobalObject*); 42 42 43 43 virtual void sourceParsed(ExecState*, SourceProvider*, int errorLineNumber, const WTF::String& errorMessage) = 0; 44 44 45 46 47 48 45 virtual void exception(const DebuggerCallFrame&, intptr_t, int, int, bool) = 0; 46 virtual void atStatement(const DebuggerCallFrame&, intptr_t, int, int) = 0; 47 virtual void callEvent(const DebuggerCallFrame&, intptr_t, int, int) = 0; 48 virtual void returnEvent(const DebuggerCallFrame&, intptr_t, int, int) = 0; 49 49 50 51 52 50 virtual void willExecuteProgram(const DebuggerCallFrame&, intptr_t, int, int) = 0; 51 virtual void didExecuteProgram(const DebuggerCallFrame&, intptr_t, int, int) = 0; 52 virtual void didReachBreakpoint(const DebuggerCallFrame&, intptr_t, int, int) = 0; 53 53 54 void recompileAllJSFunctions(VM*); 54 55 55 void recompileAllJSFunctions(VM*); 56 private: 57 HashSet<JSGlobalObject*> m_globalObjects; 58 }; 56 59 57 private: 58 HashSet<JSGlobalObject*> m_globalObjects; 59 }; 60 61 // This function exists only for backwards compatibility with existing WebScriptDebugger clients. 62 JS_EXPORT_PRIVATE JSValue evaluateInGlobalCallFrame(const WTF::String&, JSValue& exception, JSGlobalObject*); 60 // This function exists only for backwards compatibility with existing WebScriptDebugger clients. 61 JS_EXPORT_PRIVATE JSValue evaluateInGlobalCallFrame(const WTF::String&, JSValue& exception, JSGlobalObject*); 63 62 64 63 } // namespace JSC
Note:
See TracChangeset
for help on using the changeset viewer.