Changeset 47236 in webkit for trunk/JavaScriptCore/debugger/Debugger.h
- Timestamp:
- Aug 13, 2009, 2:51:50 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/debugger/Debugger.h
r45733 r47236 2 2 * Copyright (C) 1999-2001 Harri Porten ([email protected]) 3 3 * Copyright (C) 2001 Peter Kelly ([email protected]) 4 * Copyright (C) 2008 Apple Inc. All rights reserved.4 * Copyright (C) 2008, 2009 Apple Inc. All rights reserved. 5 5 * 6 6 * This library is free software; you can redistribute it and/or … … 23 23 #define Debugger_h 24 24 25 #include "Protect.h"25 #include <wtf/HashSet.h> 26 26 27 27 namespace JSC { … … 29 29 class DebuggerCallFrame; 30 30 class ExecState; 31 class JSGlobalData; 31 32 class JSGlobalObject; 33 class JSValue; 32 34 class SourceCode; 33 35 class UString; … … 35 37 class Debugger { 36 38 public: 37 Debugger();38 39 virtual ~Debugger(); 39 40 … … 41 42 virtual void detach(JSGlobalObject*); 42 43 43 virtual void sourceParsed(ExecState*, const SourceCode&, int errorLine , const UString& errorMsg) = 0;44 virtual void exception(const DebuggerCallFrame&, intptr_t sourceID, int line no) = 0;45 virtual void atStatement(const DebuggerCallFrame&, intptr_t sourceID, int line no) = 0;46 virtual void callEvent(const DebuggerCallFrame&, intptr_t sourceID, int line no) = 0;47 virtual void returnEvent(const DebuggerCallFrame&, intptr_t sourceID, int line no) = 0;44 virtual void sourceParsed(ExecState*, const SourceCode&, int errorLineNumber, const UString& errorMessage) = 0; 45 virtual void exception(const DebuggerCallFrame&, intptr_t sourceID, int lineNumber) = 0; 46 virtual void atStatement(const DebuggerCallFrame&, intptr_t sourceID, int lineNumber) = 0; 47 virtual void callEvent(const DebuggerCallFrame&, intptr_t sourceID, int lineNumber) = 0; 48 virtual void returnEvent(const DebuggerCallFrame&, intptr_t sourceID, int lineNumber) = 0; 48 49 49 virtual void willExecuteProgram(const DebuggerCallFrame&, intptr_t sourceID, int lineno) = 0; 50 virtual void didExecuteProgram(const DebuggerCallFrame&, intptr_t sourceID, int lineno) = 0; 51 virtual void didReachBreakpoint(const DebuggerCallFrame&, intptr_t sourceID, int lineno) = 0; 50 virtual void willExecuteProgram(const DebuggerCallFrame&, intptr_t sourceID, int lineNumber) = 0; 51 virtual void didExecuteProgram(const DebuggerCallFrame&, intptr_t sourceID, int lineNumber) = 0; 52 virtual void didReachBreakpoint(const DebuggerCallFrame&, intptr_t sourceID, int lineNumber) = 0; 53 54 void recompileAllJSFunctions(JSGlobalData*); 52 55 53 56 private: … … 55 58 }; 56 59 57 // This method exists only for backwards compatibility with existing 58 // WebScriptDebugger clients 60 // This function exists only for backwards compatibility with existing WebScriptDebugger clients. 59 61 JSValue evaluateInGlobalCallFrame(const UString&, JSValue& exception, JSGlobalObject*); 60 62
Note:
See TracChangeset
for help on using the changeset viewer.