Code::Blocks
SVN r11506
|
#include <debugger_defs.h>
Public Member Functions | |
GDBWatch (wxString const &symbol) | |
virtual | ~GDBWatch () |
virtual void | GetSymbol (wxString &symbol) const |
virtual void | GetValue (wxString &value) const |
virtual bool | SetValue (const wxString &value) |
virtual void | GetFullWatchString (wxString &full_watch) const |
virtual void | GetType (wxString &type) const |
virtual void | SetType (const wxString &type) |
virtual wxString const & | GetDebugString () const |
wxString | MakeSymbolToAddress () const override |
This should return a string that when passed to the debugger will return the address of the variable. More... | |
bool | IsPointerType () const override |
Tells us if the watch is for pointer variable. More... | |
void | SetDebugValue (wxString const &value) |
void | SetSymbol (const wxString &symbol) |
void | SetFormat (WatchFormat format) |
WatchFormat | GetFormat () const |
void | SetArray (bool flag) |
bool | IsArray () const |
void | SetArrayParams (int start, int count) |
int | GetArrayStart () const |
int | GetArrayCount () const |
void | SetForTooltip (bool flag=true) |
bool | GetForTooltip () const |
Public Member Functions inherited from cbWatch | |
cbWatch () | |
void | RemoveChild (int index) |
void | RemoveChildren () |
bool | RemoveMarkedChildren () |
int | GetChildCount () const |
cb::shared_ptr< cbWatch > | GetChild (int index) |
cb::shared_ptr< const cbWatch > | GetChild (int index) const |
cb::shared_ptr< cbWatch > | FindChild (const wxString &name) |
int | FindChildIndex (const wxString &symbol) const |
cb::shared_ptr< const cbWatch > | GetParent () const |
cb::shared_ptr< cbWatch > | GetParent () |
bool | IsRemoved () const |
bool | IsChanged () const |
void | MarkAsRemoved (bool flag) |
void | MarkChildsAsRemoved () |
void | MarkAsChanged (bool flag) |
void | MarkAsChangedRecursive (bool flag) |
bool | IsExpanded () const |
void | Expand (bool expand) |
bool | IsAutoUpdateEnabled () const |
void | AutoUpdate (bool enabled) |
Protected Member Functions | |
virtual void | DoDestroy () |
Protected Member Functions inherited from cbWatch | |
virtual | ~cbWatch () |
Private Attributes | |
wxString | m_symbol |
wxString | m_type |
wxString | m_raw_value |
wxString | m_debug_value |
WatchFormat | m_format |
int | m_array_start |
int | m_array_count |
bool | m_is_array |
bool | m_forTooltip |
Additional Inherited Members | |
Static Public Member Functions inherited from cbWatch | |
static void | AddChild (cb::shared_ptr< cbWatch > parent, cb::shared_ptr< cbWatch > watch) |
Definition at line 212 of file debugger_defs.h.
GDBWatch::GDBWatch | ( | wxString const & | symbol | ) |
Definition at line 183 of file debugger_defs.cpp.
|
virtual |
Definition at line 192 of file debugger_defs.cpp.
|
protectedvirtual |
Definition at line 258 of file debugger_defs.cpp.
int GDBWatch::GetArrayCount | ( | ) | const |
Definition at line 294 of file debugger_defs.cpp.
References m_array_count.
int GDBWatch::GetArrayStart | ( | ) | const |
Definition at line 289 of file debugger_defs.cpp.
References m_array_start.
|
virtual |
WatchFormat GDBWatch::GetFormat | ( | ) | const |
Definition at line 268 of file debugger_defs.cpp.
References m_format.
bool GDBWatch::GetForTooltip | ( | ) | const |
Definition at line 304 of file debugger_defs.cpp.
References m_forTooltip.
|
virtual |
Implements cbWatch.
Definition at line 212 of file debugger_defs.cpp.
References cbWatch::GetParent(), m_symbol, and wxT.
|
virtual |
|
virtual |
|
virtual |
bool GDBWatch::IsArray | ( | ) | const |
Definition at line 278 of file debugger_defs.cpp.
References m_is_array.
|
overridevirtual |
Tells us if the watch is for pointer variable.
Reimplemented from cbWatch.
Definition at line 243 of file debugger_defs.cpp.
References IsPointerType(), and m_type.
|
overridevirtual |
This should return a string that when passed to the debugger will return the address of the variable.
For example for C/C++ languages for myVar this function will return &myVar.
Reimplemented from cbWatch.
Definition at line 238 of file debugger_defs.cpp.
void GDBWatch::SetArray | ( | bool | flag | ) |
Definition at line 273 of file debugger_defs.cpp.
References m_is_array.
void GDBWatch::SetArrayParams | ( | int | start, |
int | count | ||
) |
Definition at line 283 of file debugger_defs.cpp.
References m_array_count, and m_array_start.
void GDBWatch::SetDebugValue | ( | wxString const & | value | ) |
Definition at line 248 of file debugger_defs.cpp.
References m_debug_value.
void GDBWatch::SetFormat | ( | WatchFormat | format | ) |
Definition at line 263 of file debugger_defs.cpp.
References m_format.
void GDBWatch::SetForTooltip | ( | bool | flag = true | ) |
Definition at line 299 of file debugger_defs.cpp.
References m_forTooltip.
void GDBWatch::SetSymbol | ( | const wxString & | symbol | ) |
Definition at line 253 of file debugger_defs.cpp.
References m_symbol.
|
virtual |
|
virtual |
Implements cbWatch.
Definition at line 203 of file debugger_defs.cpp.
References m_raw_value, and cbWatch::MarkAsChanged().
Referenced by SUITE().
|
private |
Definition at line 256 of file debugger_defs.h.
Referenced by GetArrayCount(), and SetArrayParams().
|
private |
Definition at line 255 of file debugger_defs.h.
Referenced by GetArrayStart(), and SetArrayParams().
|
private |
Definition at line 253 of file debugger_defs.h.
Referenced by GetDebugString(), and SetDebugValue().
|
private |
Definition at line 254 of file debugger_defs.h.
Referenced by GetFormat(), and SetFormat().
|
private |
Definition at line 258 of file debugger_defs.h.
Referenced by GetForTooltip(), and SetForTooltip().
|
private |
Definition at line 257 of file debugger_defs.h.
Referenced by IsArray(), and SetArray().
|
private |
Definition at line 252 of file debugger_defs.h.
Referenced by GetValue(), and SetValue().
|
private |
Definition at line 250 of file debugger_defs.h.
Referenced by GetFullWatchString(), GetSymbol(), MakeSymbolToAddress(), and SetSymbol().
|
private |
Definition at line 251 of file debugger_defs.h.
Referenced by GetType(), IsPointerType(), and SetType().