| # kjs Library API Documentation
Overview | Class Hierarchy | Classes | Classes (annotated) | Members | Source Files

# debugger.h

    00001 // -*- c-basic-offset: 2 -*-
    00002 /*
    00003  *  This file is part of the KDE libraries
    00004  *  Copyright (C) 1999-2001 Harri Porten (porten@kde.org)
    00005  *  Copyright (C) 2001 Peter Kelly (pmk@post.com)
    00006  *
    00007  *  This library is free software; you can redistribute it and/or
    00008  *  modify it under the terms of the GNU Lesser General Public
    00009  *  License as published by the Free Software Foundation; either
    00010  *  version 2 of the License, or (at your option) any later version.
    00011  *
    00012  *  This library is distributed in the hope that it will be useful,
    00013  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
    00014  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00015  *  Lesser General Public License for more details.
    00016  *
    00017  *  You should have received a copy of the GNU Lesser General Public
    00018  *  License along with this library; if not, write to the Free Software
    00019  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    00020  *
    00021  *  $Id: debugger.h,v 1.11.2.1 2003/05/17 11:19:24 mueller Exp $
    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.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Jan 28 13:08:20 2004 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001