Code::Blocks
SVN r11506
|
Debugger breakpoint interface. More...
#include <debugger_defs.h>
Public Types | |
enum | BreakpointType { bptCode = 0, bptFunction, bptData } |
Public Member Functions | |
DebuggerBreakpoint () | |
Constructor. More... | |
virtual void | SetEnabled (bool flag) |
virtual wxString | GetLocation () const |
virtual int | GetLine () const |
virtual wxString | GetLineString () const |
virtual wxString | GetType () const |
virtual wxString | GetInfo () const |
virtual bool | IsEnabled () const |
virtual bool | IsVisibleInEditor () const |
virtual bool | IsTemporary () const |
Public Member Functions inherited from cbBreakpoint | |
virtual | ~cbBreakpoint () |
Public Attributes | |
BreakpointType | type |
The type of this breakpoint. More... | |
wxString | filename |
The filename for the breakpoint (kept as relative). More... | |
wxString | filenameAsPassed |
The filename for the breakpoint as passed to the debugger (i.e. full filename). More... | |
int | line |
The line for the breakpoint. More... | |
long int | index |
The breakpoint number. Set automatically. Don't write to it. More... | |
bool | temporary |
Is this a temporary (one-shot) breakpoint? More... | |
bool | enabled |
Is the breakpoint enabled? More... | |
bool | active |
Is the breakpoint active? (currently unused) More... | |
bool | useIgnoreCount |
Should this breakpoint be ignored for the first X passes? (x == ignoreCount ) More... | |
int | ignoreCount |
The number of passes before this breakpoint should hit. useIgnoreCount must be true. More... | |
bool | useCondition |
Should this breakpoint hit only if a specific condition is met? More... | |
bool | wantsCondition |
Evaluate condition for pending breakpoints at first stop ! More... | |
wxString | condition |
The condition that must be met for the breakpoint to hit. useCondition must be true. More... | |
wxString | func |
The function to set the breakpoint. If this is set, it is preferred over the filename/line combination. More... | |
unsigned long int | address |
The actual breakpoint address. This is read back from the debugger. Don't write to it. More... | |
bool | alreadySet |
Is this already set? Used to mark temporary breakpoints for removal. More... | |
wxString | lineText |
Optionally, the breakpoint line's text (used by GDB for setting breapoints on ctors/dtors). More... | |
wxString | breakAddress |
Valid only for type==bptData: address to break when read/written. More... | |
bool | breakOnRead |
Valid only for type==bptData: break when memory is read from. More... | |
bool | breakOnWrite |
Valid only for type==bptData: break when memory is written to. More... | |
void * | userData |
Custom user data. More... | |
Debugger breakpoint interface.
This is the struct used for debugger breakpoints.
Definition at line 128 of file debugger_defs.h.
Enumerator | |
---|---|
bptCode | Normal file/line breakpoint. |
bptFunction | Function signature breakpoint. |
bptData | Data breakpoint. |
Definition at line 130 of file debugger_defs.h.
|
inline |
|
virtual |
Implements cbBreakpoint.
Definition at line 128 of file debugger_defs.cpp.
References _(), wxString::empty(), wxString::Format(), wxEmptyString, and wxT.
|
virtual |
Implements cbBreakpoint.
Definition at line 103 of file debugger_defs.cpp.
|
virtual |
Implements cbBreakpoint.
Definition at line 108 of file debugger_defs.cpp.
References wxString::Format(), wxEmptyString, and wxT.
|
virtual |
|
virtual |
|
virtual |
Implements cbBreakpoint.
Definition at line 167 of file debugger_defs.cpp.
|
virtual |
Implements cbBreakpoint.
Definition at line 177 of file debugger_defs.cpp.
|
virtual |
Implements cbBreakpoint.
Definition at line 172 of file debugger_defs.cpp.
|
virtual |
Implements cbBreakpoint.
Definition at line 83 of file debugger_defs.cpp.
bool DebuggerBreakpoint::active |
Is the breakpoint active? (currently unused)
Definition at line 176 of file debugger_defs.h.
unsigned long int DebuggerBreakpoint::address |
The actual breakpoint address. This is read back from the debugger. Don't write to it.
Definition at line 183 of file debugger_defs.h.
bool DebuggerBreakpoint::alreadySet |
Is this already set? Used to mark temporary breakpoints for removal.
Definition at line 184 of file debugger_defs.h.
wxString DebuggerBreakpoint::breakAddress |
Valid only for type==bptData: address to break when read/written.
Definition at line 186 of file debugger_defs.h.
bool DebuggerBreakpoint::breakOnRead |
Valid only for type==bptData: break when memory is read from.
Definition at line 187 of file debugger_defs.h.
bool DebuggerBreakpoint::breakOnWrite |
Valid only for type==bptData: break when memory is written to.
Definition at line 188 of file debugger_defs.h.
wxString DebuggerBreakpoint::condition |
The condition that must be met for the breakpoint to hit. useCondition
must be true.
Definition at line 181 of file debugger_defs.h.
Referenced by EditBreakpointDlg::EndModal().
bool DebuggerBreakpoint::enabled |
Is the breakpoint enabled?
Definition at line 175 of file debugger_defs.h.
Referenced by DebuggerGDB::EnableBreakpoint(), and EditBreakpointDlg::EndModal().
wxString DebuggerBreakpoint::filename |
The filename for the breakpoint (kept as relative).
Definition at line 170 of file debugger_defs.h.
Referenced by DebuggerState::HasBreakpoint().
wxString DebuggerBreakpoint::filenameAsPassed |
The filename for the breakpoint as passed to the debugger (i.e. full filename).
Definition at line 171 of file debugger_defs.h.
Referenced by DebuggerState::HasBreakpoint().
wxString DebuggerBreakpoint::func |
The function to set the breakpoint. If this is set, it is preferred over the filename/line combination.
Definition at line 182 of file debugger_defs.h.
int DebuggerBreakpoint::ignoreCount |
The number of passes before this breakpoint should hit. useIgnoreCount
must be true.
Definition at line 178 of file debugger_defs.h.
Referenced by EditBreakpointDlg::EndModal().
long int DebuggerBreakpoint::index |
The breakpoint number. Set automatically. Don't write to it.
Definition at line 173 of file debugger_defs.h.
int DebuggerBreakpoint::line |
The line for the breakpoint.
Definition at line 172 of file debugger_defs.h.
Referenced by DebuggerState::HasBreakpoint().
wxString DebuggerBreakpoint::lineText |
Optionally, the breakpoint line's text (used by GDB for setting breapoints on ctors/dtors).
Definition at line 185 of file debugger_defs.h.
bool DebuggerBreakpoint::temporary |
Is this a temporary (one-shot) breakpoint?
Definition at line 174 of file debugger_defs.h.
Referenced by DebuggerState::HasBreakpoint().
BreakpointType DebuggerBreakpoint::type |
The type of this breakpoint.
Definition at line 169 of file debugger_defs.h.
bool DebuggerBreakpoint::useCondition |
Should this breakpoint hit only if a specific condition is met?
Definition at line 179 of file debugger_defs.h.
Referenced by EditBreakpointDlg::EndModal().
bool DebuggerBreakpoint::useIgnoreCount |
Should this breakpoint be ignored for the first X passes? (x
== ignoreCount
)
Definition at line 177 of file debugger_defs.h.
Referenced by EditBreakpointDlg::EndModal().
void* DebuggerBreakpoint::userData |
Custom user data.
Definition at line 189 of file debugger_defs.h.
bool DebuggerBreakpoint::wantsCondition |
Evaluate condition for pending breakpoints at first stop !
Definition at line 180 of file debugger_defs.h.