debugger.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef _KJSDEBUGGER_H_
00025 #define _KJSDEBUGGER_H_
00026
00027 namespace KJS {
00028
00029 class DebuggerImp;
00030 class Interpreter;
00031 class ExecState;
00032 class Object;
00033 class UString;
00034 class List;
00035
00049 class Debugger {
00050 public:
00051
00055 Debugger();
00056
00061 virtual ~Debugger();
00062
00063 DebuggerImp *imp() const { return rep; }
00064
00080 void attach(Interpreter *interp);
00081
00090 void detach(Interpreter *interp);
00091
00111 virtual bool sourceParsed(ExecState *exec, int sourceId,
00112 const UString &source, int errorLine);
00113
00128 virtual bool sourceUnused(ExecState *exec, int sourceId);
00129
00143 virtual bool exception(ExecState *exec, int sourceId, int lineno,
00144 Object &exceptionObj);
00145
00161 virtual bool atStatement(ExecState *exec, int sourceId, int firstLine,
00162 int lastLine);
00183 virtual bool callEvent(ExecState *exec, int sourceId, int lineno,
00184 Object &function, const List &args);
00185
00204 virtual bool returnEvent(ExecState *exec, int sourceId, int lineno,
00205 Object &function);
00206
00207 private:
00208 DebuggerImp *rep;
00209 };
00210
00211 }
00212
00213 #endif
This file is part of the documentation for kdelibs Version 3.1.5.