• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kjs
 

kjs

  • kjs
debugger.h
1/*
2 * This file is part of the KDE libraries
3 * Copyright (C) 1999-2001 Harri Porten (porten@kde.org)
4 * Copyright (C) 2001 Peter Kelly (pmk@post.com)
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 *
20 */
21
22#ifndef _KJSDEBUGGER_H_
23#define _KJSDEBUGGER_H_
24
25#include "interpreter.h"
26
27namespace KJS {
28
29 class DebuggerImp;
30 class Interpreter;
31 class ExecState;
32 class Value;
33 class Object;
34 class UString;
35 class List;
36 class Completion;
37
51 class KJS_EXPORT Debugger {
52 public:
53
57 Debugger();
58
63 virtual ~Debugger();
64
65 DebuggerImp *imp() const { return rep; }
66
82 void attach(Interpreter *interp);
83
92 void detach(Interpreter *interp);
93
113 virtual bool sourceParsed(ExecState *exec, int sourceId,
114 const UString &source, int errorLine);
115
130 virtual bool sourceUnused(ExecState *exec, int sourceId);
131
145 virtual bool exception(ExecState *exec, const Value &value,
146 bool inTryCatch);
147
161 virtual bool atStatement(ExecState *exec);
162
190 virtual bool enterContext(ExecState *exec);
191
201 virtual bool exitContext(ExecState *exec, const Completion &completion);
202
203 private:
204 DebuggerImp *rep;
205 };
206
207}
208
209#endif

kjs

Skip menu "kjs"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

kjs

Skip menu "kjs"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for kjs by doxygen 1.9.4
This website is maintained by Timothy Pearson.