Changeset 28468 in webkit for trunk/JavaScriptCore/kjs/debugger.h
- Timestamp:
- Dec 5, 2007, 6:31:41 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/debugger.h
r15593 r28468 30 30 31 31 class DebuggerImp; 32 class Interpreter;33 32 class ExecState; 34 33 class JSObject; … … 59 58 60 59 /** 61 * Destroys the debugger. If the debugger is attached to any interpreters,60 * Destroys the debugger. If the debugger is attached to any global objects, 62 61 * it is automatically detached. 63 62 */ … … 67 66 68 67 /** 69 * Attaches the debugger to specified interpreter. This will cause this 70 * object to receive notification of events from the interpreter. 71 * 72 * If the interpreter is deleted, the debugger will automatically be 73 * detached. 74 * 75 * Note: only one debugger can be attached to an interpreter at a time. 76 * Attaching another debugger to the same interpreter will cause the 77 * original debugger to be detached from that interpreter. 78 * 79 * @param interp The interpreter to attach to 68 * Attaches the debugger to specified global object. This will cause this 69 * object to receive notification of events during execution. 70 * 71 * If the global object is deleted, it will detach the debugger. 72 * 73 * Note: only one debugger can be attached to a global object at a time. 74 * Attaching another debugger to the same global object will cause the 75 * original debugger to be detached. 76 * 77 * @param The global object to attach to. 80 78 * 81 79 * @see detach() 82 80 */ 83 void attach( Interpreter *interp);84 85 /** 86 * Detach the debugger from a n interpreter87 * 88 * @param interp The interpreterto detach from. If 0, the debugger will be89 * detached from all interpreters to which it is attached.81 void attach(JSGlobalObject*); 82 83 /** 84 * Detach the debugger from a global object. 85 * 86 * @param The global object to detach from. If 0, the debugger will be 87 * detached from all global objects to which it is attached. 90 88 * 91 89 * @see attach() 92 90 */ 93 void detach( Interpreter *interp);91 void detach(JSGlobalObject*); 94 92 95 93 /** … … 216 214 private: 217 215 DebuggerImp *rep; 218 HashMap< Interpreter*, ProtectedPtr<JSValue> > latestExceptions;216 HashMap<JSGlobalObject*, ProtectedPtr<JSValue> > latestExceptions; 219 217 220 218 public:
Note:
See TracChangeset
for help on using the changeset viewer.