KDevelop API Documentation

GDBDebugger::Breakpoint Class Reference

#include <breakpoint.h>

Inheritance diagram for GDBDebugger::Breakpoint:

Inheritance graph
[legend]
Collaboration diagram for GDBDebugger::Breakpoint:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Breakpoint (bool temporary=false, bool enabled=true)
virtual ~Breakpoint ()
virtual QString dbgSetCommand () const =0
virtual QString dbgRemoveCommand () const
virtual bool match (const Breakpoint *brkpt) const =0
virtual void reset ()
void setActive (int active, int id)
bool isActive (int active) const
void setEnabled (bool enabled)
bool isEnabled () const
void setTemporary (bool temporary)
bool isTemporary () const
void setHardwareBP (bool hardwareBP)
bool isHardwareBP () const
void setIgnoreCount (int ignoreCount)
int ignoreCount () const
void setAddress (const QString &address)
QString address () const
void setConditional (const QString &condition)
QString conditional () const
bool changedCondition () const
bool changedIgnoreCount () const
bool changedEnable () const
void setPending (bool pending)
bool isPending () const
void setActionAdd (bool actionAdd)
bool isActionAdd () const
void setActionClear (bool actionClear)
bool isActionClear () const
void setActionModify (bool actionModify)
bool isActionModify () const
void setDbgProcessing (bool dbgProcessing)
bool isDbgProcessing () const
void setActionDie ()
bool isActionDie () const
int key () const
void setDbgId (int dbgId)
int dbgId () const
void setHits (int hits)
int hits () const
virtual QString statusDisplay (int activeFlag) const
virtual BP_TYPES type () const
virtual QString displayType () const
virtual QString location (bool compact=true)=0
virtual void setLocation (const QString &)=0
virtual bool isValid () const =0

Private Attributes

bool s_pending_:1
bool s_actionAdd_:1
bool s_actionClear_:1
bool s_actionModify_:1
bool s_actionDie_:1
bool s_dbgProcessing_:1
bool s_enabled_:1
bool s_temporary_:1
bool s_changedCondition_:1
bool s_changedIgnoreCount_:1
bool s_changedEnable_:1
bool s_hardwareBP_:1
int dbgId_
int hits_
int key_
int active_
int ignoreCount_
QString address_
QString condition_

Constructor & Destructor Documentation

GDBDebugger::Breakpoint::Breakpoint bool  temporary = false,
bool  enabled = true
 

Definition at line 41 of file breakpoint.cpp.

References GDBDebugger::BPKey_.

GDBDebugger::Breakpoint::~Breakpoint  )  [virtual]
 

Definition at line 65 of file breakpoint.cpp.


Member Function Documentation

QString GDBDebugger::Breakpoint::address  )  const [inline]
 

Definition at line 65 of file breakpoint.h.

bool GDBDebugger::Breakpoint::changedCondition  )  const [inline]
 

Definition at line 71 of file breakpoint.h.

Referenced by GDBDebugger::GDBController::modifyBreakpoint().

bool GDBDebugger::Breakpoint::changedEnable  )  const [inline]
 

Definition at line 73 of file breakpoint.h.

Referenced by GDBDebugger::GDBController::modifyBreakpoint().

bool GDBDebugger::Breakpoint::changedIgnoreCount  )  const [inline]
 

Definition at line 72 of file breakpoint.h.

Referenced by GDBDebugger::GDBController::modifyBreakpoint().

QString GDBDebugger::Breakpoint::conditional  )  const [inline]
 

Definition at line 69 of file breakpoint.h.

Referenced by GDBDebugger::GDBController::modifyBreakpoint(), GDBDebugger::GDBBreakpointWidget::savePartialProjectSession(), GDBDebugger::BreakpointTableRow::setRow(), and GDBDebugger::GDBBreakpointWidget::slotNewValue().

int GDBDebugger::Breakpoint::dbgId  )  const [inline]
 

Definition at line 93 of file breakpoint.h.

Referenced by GDBDebugger::GDBBreakpointWidget::findId(), and GDBDebugger::GDBController::modifyBreakpoint().

QString GDBDebugger::Breakpoint::dbgRemoveCommand  )  const [virtual]
 

Definition at line 71 of file breakpoint.cpp.

References dbgId_.

Referenced by GDBDebugger::GDBController::slotBPState().

virtual QString GDBDebugger::Breakpoint::dbgSetCommand  )  const [pure virtual]
 

Implemented in GDBDebugger::FilePosBreakpoint, GDBDebugger::Watchpoint, GDBDebugger::AddressBreakpoint, and GDBDebugger::FunctionBreakpoint.

Referenced by GDBDebugger::GDBController::slotBPState().

virtual QString GDBDebugger::Breakpoint::displayType  )  const [inline, virtual]
 

Reimplemented in GDBDebugger::FilePosBreakpoint, GDBDebugger::Watchpoint, GDBDebugger::AddressBreakpoint, and GDBDebugger::FunctionBreakpoint.

Definition at line 99 of file breakpoint.h.

Referenced by GDBDebugger::BreakpointTableRow::setRow().

int GDBDebugger::Breakpoint::hits  )  const [inline]
 

Definition at line 95 of file breakpoint.h.

Referenced by GDBDebugger::BreakpointTableRow::setRow().

int GDBDebugger::Breakpoint::ignoreCount  )  const [inline]
 

Definition at line 63 of file breakpoint.h.

Referenced by GDBDebugger::GDBController::modifyBreakpoint(), GDBDebugger::BreakpointTableRow::setRow(), and GDBDebugger::GDBBreakpointWidget::slotNewValue().

bool GDBDebugger::Breakpoint::isActionAdd  )  const [inline]
 

Definition at line 79 of file breakpoint.h.

Referenced by GDBDebugger::GDBController::slotBPState().

bool GDBDebugger::Breakpoint::isActionClear  )  const [inline]
 

Definition at line 81 of file breakpoint.h.

Referenced by GDBDebugger::GDBController::slotBPState().

bool GDBDebugger::Breakpoint::isActionDie  )  const [inline]
 

Definition at line 89 of file breakpoint.h.

Referenced by GDBDebugger::GDBController::slotBPState(), and GDBDebugger::DebuggerPart::slotRefreshBPState().

bool GDBDebugger::Breakpoint::isActionModify  )  const [inline]
 

Definition at line 84 of file breakpoint.h.

Referenced by GDBDebugger::GDBController::modifyBreakpoint(), and GDBDebugger::GDBController::slotBPState().

bool GDBDebugger::Breakpoint::isActive int  active  )  const [inline]
 

Definition at line 51 of file breakpoint.h.

Referenced by GDBDebugger::GDBBreakpointWidget::slotParseGDBBrkptList(), and statusDisplay().

bool GDBDebugger::Breakpoint::isDbgProcessing  )  const [inline]
 

Definition at line 86 of file breakpoint.h.

Referenced by GDBDebugger::GDBBreakpointWidget::removeBreakpoint(), and GDBDebugger::GDBBreakpointWidget::slotSetPendingBPs().

bool GDBDebugger::Breakpoint::isEnabled  )  const [inline]
 

Definition at line 55 of file breakpoint.h.

Referenced by GDBDebugger::GDBController::modifyBreakpoint(), GDBDebugger::GDBBreakpointWidget::savePartialProjectSession(), GDBDebugger::BreakpointTableRow::setRow(), GDBDebugger::GDBBreakpointWidget::slotNewValue(), and GDBDebugger::DebuggerPart::slotRefreshBPState().

bool GDBDebugger::Breakpoint::isHardwareBP  )  const [inline]
 

Definition at line 59 of file breakpoint.h.

Referenced by GDBDebugger::BreakpointTableRow::setRow().

bool GDBDebugger::Breakpoint::isPending  )  const [inline]
 

Definition at line 76 of file breakpoint.h.

Referenced by GDBDebugger::GDBBreakpointWidget::removeBreakpoint(), GDBDebugger::GDBController::slotBPState(), GDBDebugger::DebuggerPart::slotRefreshBPState(), and GDBDebugger::GDBBreakpointWidget::slotSetPendingBPs().

bool GDBDebugger::Breakpoint::isTemporary  )  const [inline]
 

Definition at line 57 of file breakpoint.h.

Referenced by GDBDebugger::FilePosBreakpoint::dbgSetCommand(), and GDBDebugger::BreakpointTableRow::setRow().

virtual bool GDBDebugger::Breakpoint::isValid  )  const [pure virtual]
 

Implemented in GDBDebugger::FilePosBreakpoint, GDBDebugger::Watchpoint, GDBDebugger::AddressBreakpoint, and GDBDebugger::FunctionBreakpoint.

Referenced by GDBDebugger::GDBBreakpointWidget::slotSetPendingBPs().

int GDBDebugger::Breakpoint::key  )  const [inline]
 

Definition at line 91 of file breakpoint.h.

Referenced by GDBDebugger::GDBBreakpointWidget::findKey(), and GDBDebugger::GDBController::slotBPState().

virtual QString GDBDebugger::Breakpoint::location bool  compact = true  )  [pure virtual]
 

Implemented in GDBDebugger::FilePosBreakpoint, GDBDebugger::Watchpoint, GDBDebugger::AddressBreakpoint, and GDBDebugger::FunctionBreakpoint.

Referenced by GDBDebugger::GDBBreakpointWidget::savePartialProjectSession(), GDBDebugger::BreakpointTableRow::setRow(), and GDBDebugger::GDBBreakpointWidget::slotNewValue().

virtual bool GDBDebugger::Breakpoint::match const Breakpoint brkpt  )  const [pure virtual]
 

Implemented in GDBDebugger::FilePosBreakpoint, GDBDebugger::Watchpoint, GDBDebugger::AddressBreakpoint, and GDBDebugger::FunctionBreakpoint.

Referenced by GDBDebugger::BreakpointTableRow::match().

void GDBDebugger::Breakpoint::reset  )  [virtual]
 

Definition at line 82 of file breakpoint.cpp.

References active_, condition_, dbgId_, hits_, ignoreCount_, s_actionAdd_, s_actionClear_, s_actionModify_, s_changedCondition_, s_changedEnable_, s_changedIgnoreCount_, s_dbgProcessing_, s_hardwareBP_, and s_pending_.

Referenced by GDBDebugger::BreakpointTableRow::reset().

void GDBDebugger::Breakpoint::setActionAdd bool  actionAdd  )  [inline]
 

Definition at line 77 of file breakpoint.h.

Referenced by GDBDebugger::GDBBreakpointWidget::slotNewValue().

void GDBDebugger::Breakpoint::setActionClear bool  actionClear  )  [inline]
 

Definition at line 80 of file breakpoint.h.

Referenced by GDBDebugger::GDBBreakpointWidget::removeBreakpoint().

void GDBDebugger::Breakpoint::setActionDie  )  [inline]
 

Definition at line 87 of file breakpoint.h.

Referenced by GDBDebugger::GDBBreakpointWidget::removeBreakpoint(), and GDBDebugger::GDBBreakpointWidget::slotNewValue().

void GDBDebugger::Breakpoint::setActionModify bool  actionModify  )  [inline]
 

Definition at line 82 of file breakpoint.h.

Referenced by GDBDebugger::GDBBreakpointWidget::slotNewValue().

void GDBDebugger::Breakpoint::setActive int  active,
int  id
 

Definition at line 100 of file breakpoint.cpp.

References active_, dbgId_, s_actionAdd_, s_actionClear_, s_actionDie_, s_actionModify_, s_changedCondition_, s_changedEnable_, s_changedIgnoreCount_, s_dbgProcessing_, and s_pending_.

Referenced by GDBDebugger::GDBBreakpointWidget::slotParseGDBBreakpointSet(), and GDBDebugger::GDBBreakpointWidget::slotParseGDBBrkptList().

void GDBDebugger::Breakpoint::setAddress const QString address  )  [inline]
 

Definition at line 64 of file breakpoint.h.

void GDBDebugger::Breakpoint::setConditional const QString condition  )  [inline]
 

Definition at line 66 of file breakpoint.h.

Referenced by GDBDebugger::GDBBreakpointWidget::restorePartialProjectSession(), GDBDebugger::GDBBreakpointWidget::slotNewValue(), and GDBDebugger::GDBBreakpointWidget::slotParseGDBBrkptList().

void GDBDebugger::Breakpoint::setDbgId int  dbgId  )  [inline]
 

Definition at line 92 of file breakpoint.h.

void GDBDebugger::Breakpoint::setDbgProcessing bool  dbgProcessing  )  [inline]
 

Definition at line 85 of file breakpoint.h.

Referenced by GDBDebugger::GDBBreakpointWidget::slotParseGDBBreakpointSet().

void GDBDebugger::Breakpoint::setEnabled bool  enabled  )  [inline]
 

Definition at line 53 of file breakpoint.h.

Referenced by GDBDebugger::GDBBreakpointWidget::restorePartialProjectSession(), GDBDebugger::GDBBreakpointWidget::slotNewValue(), and GDBDebugger::GDBBreakpointWidget::slotToggleBreakpointEnabled().

void GDBDebugger::Breakpoint::setHardwareBP bool  hardwareBP  )  [inline]
 

Definition at line 58 of file breakpoint.h.

Referenced by GDBDebugger::GDBBreakpointWidget::slotParseGDBBreakpointSet().

void GDBDebugger::Breakpoint::setHits int  hits  )  [inline]
 

Definition at line 94 of file breakpoint.h.

Referenced by GDBDebugger::GDBBreakpointWidget::slotParseGDBBrkptList().

void GDBDebugger::Breakpoint::setIgnoreCount int  ignoreCount  )  [inline]
 

Definition at line 60 of file breakpoint.h.

Referenced by GDBDebugger::GDBBreakpointWidget::slotNewValue(), and GDBDebugger::GDBBreakpointWidget::slotParseGDBBrkptList().

virtual void GDBDebugger::Breakpoint::setLocation const QString  )  [pure virtual]
 

Implemented in GDBDebugger::FilePosBreakpoint, GDBDebugger::Watchpoint, GDBDebugger::AddressBreakpoint, and GDBDebugger::FunctionBreakpoint.

Referenced by GDBDebugger::GDBBreakpointWidget::restorePartialProjectSession(), and GDBDebugger::GDBBreakpointWidget::slotNewValue().

void GDBDebugger::Breakpoint::setPending bool  pending  )  [inline]
 

Definition at line 75 of file breakpoint.h.

Referenced by GDBDebugger::GDBBreakpointWidget::removeBreakpoint(), and GDBDebugger::GDBBreakpointWidget::slotNewValue().

void GDBDebugger::Breakpoint::setTemporary bool  temporary  )  [inline]
 

Definition at line 56 of file breakpoint.h.

QString GDBDebugger::Breakpoint::statusDisplay int  activeFlag  )  const [virtual]
 

Definition at line 124 of file breakpoint.cpp.

References isActive().

Referenced by GDBDebugger::BreakpointTableRow::setRow().

virtual BP_TYPES GDBDebugger::Breakpoint::type  )  const [inline, virtual]
 

Reimplemented in GDBDebugger::FilePosBreakpoint, GDBDebugger::Watchpoint, GDBDebugger::AddressBreakpoint, and GDBDebugger::FunctionBreakpoint.

Definition at line 98 of file breakpoint.h.

References GDBDebugger::BP_TYPES.

Referenced by GDBDebugger::GDBBreakpointWidget::savePartialProjectSession(), and GDBDebugger::DebuggerPart::slotRefreshBPState().


Member Data Documentation

int GDBDebugger::Breakpoint::active_ [private]
 

Definition at line 123 of file breakpoint.h.

Referenced by reset(), and setActive().

QString GDBDebugger::Breakpoint::address_ [private]
 

Definition at line 126 of file breakpoint.h.

QString GDBDebugger::Breakpoint::condition_ [private]
 

Definition at line 127 of file breakpoint.h.

Referenced by reset().

int GDBDebugger::Breakpoint::dbgId_ [private]
 

Definition at line 119 of file breakpoint.h.

Referenced by dbgRemoveCommand(), reset(), and setActive().

int GDBDebugger::Breakpoint::hits_ [private]
 

Definition at line 120 of file breakpoint.h.

Referenced by reset().

int GDBDebugger::Breakpoint::ignoreCount_ [private]
 

Definition at line 125 of file breakpoint.h.

Referenced by reset().

int GDBDebugger::Breakpoint::key_ [private]
 

Definition at line 122 of file breakpoint.h.

bool GDBDebugger::Breakpoint::s_actionAdd_ [private]
 

Definition at line 107 of file breakpoint.h.

Referenced by reset(), and setActive().

bool GDBDebugger::Breakpoint::s_actionClear_ [private]
 

Definition at line 108 of file breakpoint.h.

Referenced by reset(), and setActive().

bool GDBDebugger::Breakpoint::s_actionDie_ [private]
 

Definition at line 110 of file breakpoint.h.

Referenced by setActive().

bool GDBDebugger::Breakpoint::s_actionModify_ [private]
 

Definition at line 109 of file breakpoint.h.

Referenced by reset(), and setActive().

bool GDBDebugger::Breakpoint::s_changedCondition_ [private]
 

Definition at line 114 of file breakpoint.h.

Referenced by reset(), and setActive().

bool GDBDebugger::Breakpoint::s_changedEnable_ [private]
 

Definition at line 116 of file breakpoint.h.

Referenced by reset(), and setActive().

bool GDBDebugger::Breakpoint::s_changedIgnoreCount_ [private]
 

Definition at line 115 of file breakpoint.h.

Referenced by reset(), and setActive().

bool GDBDebugger::Breakpoint::s_dbgProcessing_ [private]
 

Definition at line 111 of file breakpoint.h.

Referenced by reset(), and setActive().

bool GDBDebugger::Breakpoint::s_enabled_ [private]
 

Definition at line 112 of file breakpoint.h.

bool GDBDebugger::Breakpoint::s_hardwareBP_ [private]
 

Definition at line 117 of file breakpoint.h.

Referenced by reset().

bool GDBDebugger::Breakpoint::s_pending_ [private]
 

Definition at line 106 of file breakpoint.h.

Referenced by reset(), and setActive().

bool GDBDebugger::Breakpoint::s_temporary_ [private]
 

Definition at line 113 of file breakpoint.h.


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:50:28 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003