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
#ifndef _KJSDEBUGGER_H_
00024
#define _KJSDEBUGGER_H_
00025
00026
#include "interpreter.h"
00027
00028
namespace KJS {
00029
00030
class DebuggerImp;
00031
class Interpreter;
00032
class ExecState;
00033
class Value;
00034
class Object;
00035
class UString;
00036
class List;
00037
class Completion;
00038
00052
class Debugger {
00053
public:
00054
00058 Debugger();
00059
00064
virtual ~Debugger();
00065
00066 DebuggerImp *imp()
const {
return rep; }
00067
00083
void attach(
Interpreter *interp);
00084
00093
void detach(
Interpreter *interp);
00094
00114
virtual bool sourceParsed(
ExecState *exec,
int sourceId,
00115
const UString &source,
int errorLine);
00116
00131
virtual bool sourceUnused(
ExecState *exec,
int sourceId);
00132
00146
virtual bool exception(
ExecState *exec,
const Value &value,
00147
bool inTryCatch);
00148
00162
virtual bool atStatement(
ExecState *exec);
00163
00191
virtual bool enterContext(
ExecState *exec);
00192
00202
virtual bool exitContext(
ExecState *exec,
const Completion &completion);
00203
00204
private:
00205 DebuggerImp *rep;
00206 };
00207
00208 }
00209
00210
#endif
This file is part of the documentation for kjs Library Version 3.3.0.