KDevelop API Documentation

KDevDebugger Class Reference

#include <kdevdebugger.h>

Inheritance diagram for KDevDebugger:

Inheritance graph
[legend]
Collaboration diagram for KDevDebugger:

Collaboration graph
[legend]
List of all members.

Signals

void toggledBreakpoint (const QString &fileName, int lineNum)
 The user has toggled a breakpoint.
void editedBreakpoint (const QString &fileName, int lineNum)
void toggledBreakpointEnabled (const QString &fileName, int lineNum)
 The user wants to enable/disable a breakpoint.

Public Member Functions

 KDevDebugger (QObject *parent=0, const char *name=0)
 ~KDevDebugger ()
virtual void setBreakpoint (const QString &fileName, int lineNum, int id, bool enabled, bool pending)=0
 Sets a breakpoint in the editor document belong to fileName.
virtual void gotoExecutionPoint (const KURL &url, int lineNum=0)=0
 Goes to a given location in a source file and marks the line.
virtual void clearExecutionPoint ()=0
 Clear the execution point.

Static Public Member Functions

const QPixmapinactiveBreakpointPixmap ()
const QPixmapactiveBreakpointPixmap ()
const QPixmapreachedBreakpointPixmap ()
const QPixmapdisabledBreakpointPixmap ()
const QPixmapexecutionPointPixmap ()

Constructor & Destructor Documentation

KDevDebugger::KDevDebugger QObject parent = 0,
const char *  name = 0
 

Definition at line 22 of file kdevdebugger.cpp.

KDevDebugger::~KDevDebugger  ) 
 

Definition at line 28 of file kdevdebugger.cpp.


Member Function Documentation

const QPixmap * KDevDebugger::activeBreakpointPixmap  )  [static]
 

Definition at line 62 of file kdevdebugger.cpp.

Referenced by Debugger::partAdded().

virtual void KDevDebugger::clearExecutionPoint  )  [pure virtual]
 

Clear the execution point.

Usefull if debugging has ended.

Implemented in Debugger.

Referenced by JAVADebugger::JavaDebuggerPart::slotStatus(), GDBDebugger::DebuggerPart::slotStatus(), JAVADebugger::JavaDebuggerPart::slotStop(), and GDBDebugger::DebuggerPart::slotStopDebugger().

const QPixmap * KDevDebugger::disabledBreakpointPixmap  )  [static]
 

Definition at line 123 of file kdevdebugger.cpp.

Referenced by Debugger::partAdded().

void KDevDebugger::editedBreakpoint const QString fileName,
int  lineNum
[signal]
 

const QPixmap * KDevDebugger::executionPointPixmap  )  [static]
 

Definition at line 154 of file kdevdebugger.cpp.

Referenced by Debugger::partAdded().

virtual void KDevDebugger::gotoExecutionPoint const KURL url,
int  lineNum = 0
[pure virtual]
 

Goes to a given location in a source file and marks the line.

This is used by the debugger to mark the location where the the debugger has stopped.

Implemented in Debugger.

Referenced by JAVADebugger::JavaDebuggerPart::slotShowStep(), and GDBDebugger::DebuggerPart::slotShowStep().

const QPixmap * KDevDebugger::inactiveBreakpointPixmap  )  [static]
 

Definition at line 32 of file kdevdebugger.cpp.

Referenced by Debugger::partAdded().

const QPixmap * KDevDebugger::reachedBreakpointPixmap  )  [static]
 

Definition at line 92 of file kdevdebugger.cpp.

Referenced by Debugger::partAdded().

virtual void KDevDebugger::setBreakpoint const QString fileName,
int  lineNum,
int  id,
bool  enabled,
bool  pending
[pure virtual]
 

Sets a breakpoint in the editor document belong to fileName.

If id==-1, the breakpoint is deleted.

Implemented in Debugger.

Referenced by JAVADebugger::JavaDebuggerPart::slotRefreshBPState(), and GDBDebugger::DebuggerPart::slotRefreshBPState().

void KDevDebugger::toggledBreakpoint const QString fileName,
int  lineNum
[signal]
 

The user has toggled a breakpoint.

Referenced by Debugger::marksChanged().

void KDevDebugger::toggledBreakpointEnabled const QString fileName,
int  lineNum
[signal]
 

The user wants to enable/disable a breakpoint.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:39:57 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003