23 #ifndef _KJSDEBUGGER_H_ 24 #define _KJSDEBUGGER_H_ 26 #include "interpreter.h" 52 class KJS_EXPORT Debugger {
66 DebuggerImp *imp()
const {
return rep; }
83 void attach(Interpreter *interp);
93 void detach(Interpreter *interp);
114 virtual bool sourceParsed(ExecState *exec,
int sourceId,
115 const UString &source,
int errorLine);
131 virtual bool sourceUnused(ExecState *exec,
int sourceId);
146 virtual bool exception(ExecState *exec,
const Value &value,
162 virtual bool atStatement(ExecState *exec);
191 virtual bool enterContext(ExecState *exec);
202 virtual bool exitContext(ExecState *exec,
const Completion &completion);