KJS
debugger.cpp
110 bool Debugger::sourceParsed(ExecState * /*exec*/, int /*sourceId*/, const UString &/*sourceURL*/,
111 const UString &/*source*/, int /*startingLineNumber*/, int /*errorLine*/, const UString & /*errorMsg*/)
137 exception(exec, exec->currentBody() ? exec->currentBody()->sourceId() : lastSourceParsed, lastLineRan, exceptionVal);
Definition: debugger.h:54
virtual void detach(Interpreter *interp)
Detach the debugger from an interpreter.
Definition: debugger.cpp:77
virtual bool exception(ExecState *exec, int sourceId, int lineno, JSValue *exception)
Called when an exception is thrown during script execution.
Definition: debugger.cpp:116
This AST node corresponds to the function body or top-level code in the AST, but is used to keep trac...
Definition: nodes.h:1276
JSValue is the base type for all primitives (Undefined, Null, Boolean, String, Number) and objects in...
Definition: value.h:58
virtual bool atStatement(ExecState *exec, int sourceId, int firstLine, int lastLine)
Called when a line of the script is reached (before it is executed)
Definition: debugger.cpp:122
Interpreter objects can be used to evaluate ECMAScript code.
Definition: interpreter.h:56
virtual bool enterContext(ExecState *exec, int sourceId, int lineno, JSObject *function, const List &args)
Called when the interpreter enters a new execution context (stack frame).
Definition: debugger.cpp:141
virtual bool sourceParsed(ExecState *exec, int sourceId, const UString &sourceURL, const UString &source, int startingLineNumber, int errorLine, const UString &errorMsg)
Called to notify the debugger that some javascript source code has been parsed.
Definition: debugger.cpp:110
virtual bool exitContext(ExecState *exec, int sourceId, int lineno, JSObject *function)
Called when the interpreter exits an execution context.
Definition: debugger.cpp:147
Interpreter * dynamicInterpreter() const
Returns the interpreter associated with this execution state.
Definition: ExecState.h:64
virtual void attach(Interpreter *interp)
Attaches the debugger to specified interpreter.
Definition: debugger.cpp:64
QAction * next(const QObject *recvr, const char *slot, QObject *parent)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Sep 30 2023 03:56:09 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Sep 30 2023 03:56:09 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.