22#ifndef _KJSDEBUGGER_H_
23#define _KJSDEBUGGER_H_
25#include "interpreter.h"
51 class KJS_EXPORT Debugger {
65 DebuggerImp *imp()
const {
return rep; }
82 void attach(Interpreter *interp);
92 void detach(Interpreter *interp);
113 virtual bool sourceParsed(ExecState *exec,
int sourceId,
114 const UString &source,
int errorLine);
130 virtual bool sourceUnused(ExecState *exec,
int sourceId);
145 virtual bool exception(ExecState *exec,
const Value &value,
161 virtual bool atStatement(ExecState *exec);
190 virtual bool enterContext(ExecState *exec);
201 virtual bool exitContext(ExecState *exec,
const Completion &completion);
Completion objects are used to convey the return status and value from functions.
Represents the current state of script execution.
Interpreter objects can be used to evaluate ECMAScript code.
Value objects are act as wrappers ("smart pointers") around ValueImp objects and their descendents.