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

kjs

  • kjs
debugger.h
1 // -*- c-basic-offset: 2 -*-
2 /*
3  * This file is part of the KDE libraries
4  * Copyright (C) 1999-2001 Harri Porten (porten@kde.org)
5  * Copyright (C) 2001 Peter Kelly (pmk@post.com)
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation; either
10  * version 2 of the License, or (at your option) any later version.
11  *
12  * This library is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with this library; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20  *
21  */
22 
23 #ifndef _KJSDEBUGGER_H_
24 #define _KJSDEBUGGER_H_
25 
26 #include "interpreter.h"
27 
28 namespace KJS {
29 
30  class DebuggerImp;
31  class Interpreter;
32  class ExecState;
33  class Value;
34  class Object;
35  class UString;
36  class List;
37  class Completion;
38 
52  class KJS_EXPORT Debugger {
53  public:
54 
58  Debugger();
59 
64  virtual ~Debugger();
65 
66  DebuggerImp *imp() const { return rep; }
67 
83  void attach(Interpreter *interp);
84 
93  void detach(Interpreter *interp);
94 
114  virtual bool sourceParsed(ExecState *exec, int sourceId,
115  const UString &source, int errorLine);
116 
131  virtual bool sourceUnused(ExecState *exec, int sourceId);
132 
146  virtual bool exception(ExecState *exec, const Value &value,
147  bool inTryCatch);
148 
162  virtual bool atStatement(ExecState *exec);
163 
191  virtual bool enterContext(ExecState *exec);
192 
202  virtual bool exitContext(ExecState *exec, const Completion &completion);
203 
204  private:
205  DebuggerImp *rep;
206  };
207 
208 }
209 
210 #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
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kjs by doxygen 1.8.6
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |