26 #include "interpreter.h"
35 struct AttachedInterpreter
40 AttachedInterpreter *
next;
47 rep =
new DebuggerImp();
54 detach(rep->interps->interp);
61 if (interp->imp()->debugger() !=
this)
62 interp->imp()->setDebugger(
this);
66 rep->interps =
new AttachedInterpreter(interp);
68 AttachedInterpreter *ai = rep->interps;
70 if (ai->interp == interp)
74 ai->next =
new AttachedInterpreter(interp);
80 if (interp->imp()->debugger() ==
this)
81 interp->imp()->setDebugger(0L);
86 if (rep->interps->interp == interp) {
87 AttachedInterpreter *old = rep->interps;
88 rep->interps = rep->interps->next;
92 AttachedInterpreter *ai = rep->interps;
95 while (ai->next && ai->next->interp != interp)
98 AttachedInterpreter *old = ai->next;
99 ai->next = ai->next->next;
104 bool Debugger::sourceParsed(
ExecState * ,
int ,
110 bool Debugger::sourceUnused(
ExecState * ,
int )
126 bool Debugger::enterContext(
ExecState * )
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.
const TDEShortcut & next()