KDevelop API Documentation

JAVADebugger::Breakpoint Class Reference

#include <breakpoint.h>

Inheritance diagram for JAVADebugger::Breakpoint:

Inheritance graph
[legend]
Collaboration diagram for JAVADebugger::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 QString text () const
virtual void configureDisplay ()
virtual bool modifyDialog ()
virtual void reset ()
int height (const QListBox *lb) const
int width (const QListBox *lb) const
void paint (QPainter *p)
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 ()
bool changedIgnoreCount ()
bool changedEnable ()
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 bool hasSourcePosition () const
virtual QString fileName () const
virtual int lineNum () const

Protected Attributes

QString display_

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

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

Definition at line 43 of file breakpoint.cpp.

References JAVADebugger::BPKey_.

JAVADebugger::Breakpoint::~Breakpoint  )  [virtual]
 

Definition at line 69 of file breakpoint.cpp.


Member Function Documentation

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

Definition at line 62 of file breakpoint.h.

bool JAVADebugger::Breakpoint::changedCondition  )  [inline]
 

Definition at line 66 of file breakpoint.h.

bool JAVADebugger::Breakpoint::changedEnable  )  [inline]
 

Definition at line 68 of file breakpoint.h.

bool JAVADebugger::Breakpoint::changedIgnoreCount  )  [inline]
 

Definition at line 67 of file breakpoint.h.

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

Definition at line 64 of file breakpoint.h.

Referenced by JAVADebugger::BPDialog::BPDialog().

void JAVADebugger::Breakpoint::configureDisplay  )  [virtual]
 

Reimplemented in JAVADebugger::FilePosBreakpoint, and JAVADebugger::Watchpoint.

Definition at line 105 of file breakpoint.cpp.

References condition_, dbgId_, display_, hits_, and ignoreCount_.

Referenced by JAVADebugger::BreakpointWidget::addBreakpoint(), JAVADebugger::BreakpointWidget::modifyBreakpoint(), JAVADebugger::BreakpointWidget::removeBreakpoint(), reset(), setActive(), JAVADebugger::BreakpointWidget::slotParseJDBBreakpointSet(), JAVADebugger::BreakpointWidget::slotParseJDBBrkptList(), and JAVADebugger::BreakpointWidget::toggleBPEnabled().

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

Definition at line 85 of file breakpoint.h.

Referenced by JAVADebugger::BreakpointWidget::findId().

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

Definition at line 149 of file breakpoint.cpp.

References dbgId_.

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

Implemented in JAVADebugger::FilePosBreakpoint, and JAVADebugger::Watchpoint.

QString JAVADebugger::Breakpoint::fileName  )  const [virtual]
 

Reimplemented in JAVADebugger::FilePosBreakpoint.

Definition at line 166 of file breakpoint.cpp.

Referenced by JAVADebugger::BPDialog::BPDialog(), JAVADebugger::BreakpointWidget::refreshBP(), JAVADebugger::BreakpointWidget::slotContextMenu(), JAVADebugger::BreakpointWidget::slotExecuted(), and JAVADebugger::JavaDebuggerPart::slotRefreshBPState().

bool JAVADebugger::Breakpoint::hasSourcePosition  )  const [virtual]
 

Reimplemented in JAVADebugger::FilePosBreakpoint.

Definition at line 159 of file breakpoint.cpp.

Referenced by JAVADebugger::BPDialog::BPDialog(), JAVADebugger::BreakpointWidget::refreshBP(), JAVADebugger::BreakpointWidget::slotContextMenu(), and JAVADebugger::BreakpointWidget::slotExecuted().

int JAVADebugger::Breakpoint::height const QListBox lb  )  const
 

Definition at line 75 of file breakpoint.cpp.

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

Definition at line 87 of file breakpoint.h.

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

Definition at line 60 of file breakpoint.h.

Referenced by JAVADebugger::BPDialog::BPDialog().

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

Definition at line 73 of file breakpoint.h.

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

Definition at line 75 of file breakpoint.h.

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

Definition at line 81 of file breakpoint.h.

Referenced by JAVADebugger::JavaDebuggerPart::slotRefreshBPState().

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

Definition at line 77 of file breakpoint.h.

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

Definition at line 50 of file breakpoint.h.

Referenced by JAVADebugger::BreakpointWidget::slotParseJDBBrkptList().

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

Definition at line 79 of file breakpoint.h.

Referenced by JAVADebugger::BreakpointWidget::removeAllBreakpoints(), JAVADebugger::BreakpointWidget::removeBreakpoint(), and JAVADebugger::BreakpointWidget::slotSetPendingBPs().

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

Definition at line 54 of file breakpoint.h.

Referenced by JAVADebugger::BPDialog::BPDialog(), JAVADebugger::BreakpointWidget::slotContextMenu(), JAVADebugger::JavaDebuggerPart::slotRefreshBPState(), and JAVADebugger::BreakpointWidget::toggleBPEnabled().

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

Definition at line 58 of file breakpoint.h.

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

Definition at line 71 of file breakpoint.h.

Referenced by JAVADebugger::BreakpointWidget::removeAllBreakpoints(), JAVADebugger::BreakpointWidget::removeBreakpoint(), JAVADebugger::JavaDebuggerPart::slotRefreshBPState(), and JAVADebugger::BreakpointWidget::slotSetPendingBPs().

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

Definition at line 56 of file breakpoint.h.

Referenced by JAVADebugger::FilePosBreakpoint::dbgSetCommand().

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

Definition at line 83 of file breakpoint.h.

Referenced by JAVADebugger::BreakpointWidget::findKey().

int JAVADebugger::Breakpoint::lineNum  )  const [virtual]
 

Reimplemented in JAVADebugger::FilePosBreakpoint.

Definition at line 173 of file breakpoint.cpp.

Referenced by JAVADebugger::BPDialog::BPDialog(), JAVADebugger::BreakpointWidget::slotContextMenu(), JAVADebugger::BreakpointWidget::slotExecuted(), and JAVADebugger::JavaDebuggerPart::slotRefreshBPState().

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

Implemented in JAVADebugger::FilePosBreakpoint, and JAVADebugger::Watchpoint.

Referenced by JAVADebugger::BreakpointWidget::findIndex().

bool JAVADebugger::Breakpoint::modifyDialog  )  [virtual]
 

Definition at line 225 of file breakpoint.cpp.

References JAVADebugger::BPDialog::getConditional(), JAVADebugger::BPDialog::getIgnoreCount(), JAVADebugger::BPDialog::isEnabled(), s_changedCondition_, s_changedIgnoreCount_, setConditional(), setEnabled(), and setIgnoreCount().

Referenced by JAVADebugger::BreakpointWidget::modifyBreakpoint().

void JAVADebugger::Breakpoint::paint QPainter p  ) 
 

Definition at line 89 of file breakpoint.cpp.

References text().

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

Definition at line 181 of file breakpoint.cpp.

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

Referenced by JAVADebugger::BreakpointWidget::slotUnableToSetBPNow().

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

Definition at line 72 of file breakpoint.h.

Referenced by JAVADebugger::BreakpointWidget::addBreakpoint().

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

Definition at line 74 of file breakpoint.h.

Referenced by JAVADebugger::BreakpointWidget::removeBreakpoint().

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

Definition at line 80 of file breakpoint.h.

Referenced by JAVADebugger::BreakpointWidget::removeBreakpoint(), and JAVADebugger::BreakpointWidget::slotParseJDBBrkptList().

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

Definition at line 76 of file breakpoint.h.

Referenced by JAVADebugger::BreakpointWidget::modifyBreakpoint(), and JAVADebugger::BreakpointWidget::toggleBPEnabled().

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

Definition at line 200 of file breakpoint.cpp.

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

Referenced by JAVADebugger::BreakpointWidget::slotParseJDBBreakpointSet(), and JAVADebugger::BreakpointWidget::slotParseJDBBrkptList().

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

Definition at line 61 of file breakpoint.h.

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

Definition at line 63 of file breakpoint.h.

Referenced by modifyDialog(), and JAVADebugger::BreakpointWidget::slotParseJDBBrkptList().

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

Definition at line 84 of file breakpoint.h.

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

Definition at line 78 of file breakpoint.h.

Referenced by JAVADebugger::BreakpointWidget::slotParseJDBBreakpointSet().

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

Definition at line 53 of file breakpoint.h.

Referenced by modifyDialog(), and JAVADebugger::BreakpointWidget::toggleBPEnabled().

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

Definition at line 57 of file breakpoint.h.

Referenced by JAVADebugger::BreakpointWidget::slotParseJDBBreakpointSet().

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

Definition at line 86 of file breakpoint.h.

Referenced by JAVADebugger::BreakpointWidget::slotParseJDBBrkptList().

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

Definition at line 59 of file breakpoint.h.

Referenced by modifyDialog(), and JAVADebugger::BreakpointWidget::slotParseJDBBrkptList().

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

Definition at line 70 of file breakpoint.h.

Referenced by JAVADebugger::BreakpointWidget::addBreakpoint(), JAVADebugger::BreakpointWidget::modifyBreakpoint(), JAVADebugger::BreakpointWidget::removeBreakpoint(), and JAVADebugger::BreakpointWidget::toggleBPEnabled().

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

Definition at line 55 of file breakpoint.h.

QString JAVADebugger::Breakpoint::text  )  const [virtual]
 

Definition at line 98 of file breakpoint.cpp.

Referenced by paint(), and width().

int JAVADebugger::Breakpoint::width const QListBox lb  )  const
 

Definition at line 82 of file breakpoint.cpp.

References text().


Member Data Documentation

int JAVADebugger::Breakpoint::active_ [private]
 

Definition at line 118 of file breakpoint.h.

Referenced by setActive().

QString JAVADebugger::Breakpoint::address_ [private]
 

Definition at line 121 of file breakpoint.h.

QString JAVADebugger::Breakpoint::condition_ [private]
 

Definition at line 122 of file breakpoint.h.

Referenced by configureDisplay(), and reset().

int JAVADebugger::Breakpoint::dbgId_ [private]
 

Definition at line 114 of file breakpoint.h.

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

QString JAVADebugger::Breakpoint::display_ [protected]
 

Definition at line 98 of file breakpoint.h.

Referenced by configureDisplay().

int JAVADebugger::Breakpoint::hits_ [private]
 

Definition at line 115 of file breakpoint.h.

Referenced by configureDisplay(), and reset().

int JAVADebugger::Breakpoint::ignoreCount_ [private]
 

Definition at line 120 of file breakpoint.h.

Referenced by configureDisplay(), and reset().

int JAVADebugger::Breakpoint::key_ [private]
 

Definition at line 117 of file breakpoint.h.

bool JAVADebugger::Breakpoint::s_actionAdd_ [private]
 

Definition at line 102 of file breakpoint.h.

Referenced by reset(), and setActive().

bool JAVADebugger::Breakpoint::s_actionClear_ [private]
 

Definition at line 103 of file breakpoint.h.

Referenced by reset(), and setActive().

bool JAVADebugger::Breakpoint::s_actionDie_ [private]
 

Definition at line 105 of file breakpoint.h.

Referenced by setActive().

bool JAVADebugger::Breakpoint::s_actionModify_ [private]
 

Definition at line 104 of file breakpoint.h.

Referenced by reset(), and setActive().

bool JAVADebugger::Breakpoint::s_changedCondition_ [private]
 

Definition at line 109 of file breakpoint.h.

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

bool JAVADebugger::Breakpoint::s_changedEnable_ [private]
 

Definition at line 111 of file breakpoint.h.

Referenced by reset(), and setActive().

bool JAVADebugger::Breakpoint::s_changedIgnoreCount_ [private]
 

Definition at line 110 of file breakpoint.h.

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

bool JAVADebugger::Breakpoint::s_dbgProcessing_ [private]
 

Definition at line 106 of file breakpoint.h.

Referenced by reset(), and setActive().

bool JAVADebugger::Breakpoint::s_enabled_ [private]
 

Definition at line 107 of file breakpoint.h.

bool JAVADebugger::Breakpoint::s_hardwareBP_ [private]
 

Definition at line 112 of file breakpoint.h.

Referenced by reset().

bool JAVADebugger::Breakpoint::s_pending_ [private]
 

Definition at line 101 of file breakpoint.h.

Referenced by reset(), and setActive().

bool JAVADebugger::Breakpoint::s_temporary_ [private]
 

Definition at line 108 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 Wed Mar 23 00:32:41 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003