23 #include <wx/arrimpl.cpp> 25 #if !defined(CB_TEST_PROJECT) 33 m_LogToNormalLog(logToNormalLog)
65 m_pText->SetFont(font);
67 sizer->Add(m_pText, 1,
wxGROW);
81 #endif // !defined(CB_TEST_PROJECT) 95 return filenameAsPassed;
122 return _(
"Function");
133 if (breakOnRead && breakOnWrite)
134 return _(
"type: read-write");
135 else if (breakOnRead)
136 return _(
"type: read");
137 else if (breakOnWrite)
138 return _(
"type: write");
140 return _(
"type: unknown");
145 s +=
_(
"condition: ") + condition;
174 return type == bptCode;
214 cb::shared_ptr<const cbWatch> parent =
GetParent();
217 parent->GetFullWatchString(full_watch);
void SetSymbol(const wxString &symbol)
DebuggerLanguage g_DebugLanguage
virtual void GetSymbol(wxString &symbol) const
static Manager * Get()
Use Manager::Get() to get a pointer to its instance Manager::Get() is guaranteed to never return an i...
virtual void GetType(wxString &type) const
virtual int GetLine() const
virtual bool IsEnabled() const
virtual void Action()
Executes an action.
void Log(const wxString &msg)
GDBWatch(wxString const &symbol)
virtual bool IsTemporary() const
bool IsPointerType(wxString type)
virtual wxString GetInfo() const
virtual wxString GetType() const
virtual void UpdateWatches()=0
DbgCmd_UpdateWatchesTree(DebuggerDriver *driver)
bool Contains(const wxString &str) const
DebuggerManager * GetDebuggerManager() const
virtual void SetType(const wxString &type)
wxString & RemoveLast(size_t n=1)
bool m_LogToNormalLog
if true, log to normal log, else the debug log
DebuggerCmd(DebuggerDriver *driver, const wxString &cmd=_T(""), bool logToNormalLog=false)
const wxSize wxDefaultSize
const int DEBUGGER_CURSOR_CHANGED
wxCommandEvent ID fired when the cursor has changed.
const wxPoint wxDefaultPosition
bool IsPointerType() const override
Tells us if the watch is for pointer variable.
cbWatchesDlg * GetWatchesDialog()
Returns a pointer to the watches dialog.
int GetArrayCount() const
virtual wxString GetLocation() const
#define wxDEFAULT_DIALOG_STYLE
int GetArrayStart() const
void MarkAsChanged(bool flag)
const int DEBUGGER_SHOW_FILE_LINE
wxCommandEvent ID fired to display a file/line (w/out changing the cursor)
const wxString & _(const wxString &string)
wxString & Trim(bool fromRight=true)
virtual void GetValue(wxString &value) const
void SetDebugValue(wxString const &value)
virtual void ParseOutput(const wxString &output)
Parses the command's output.
wxString CleanStringValue(wxString value)
virtual wxString GetLineString() const
bool EndsWith(const wxString &suffix, wxString *rest=NULL) const
virtual void ParseOutput(const wxString &output)
Parses the command's output.
DebuggerDriver * m_pDriver
the driver
virtual wxString const & GetDebugString() const
virtual void SetEnabled(bool flag)
void SetArrayParams(int start, int count)
virtual bool SetValue(const wxString &value)
Basic interface for debugger commands.
static wxString Format(const wxString &format,...)
cb::shared_ptr< const cbWatch > GetParent() const
virtual void GetFullWatchString(wxString &full_watch) const
virtual bool IsVisibleInEditor() const
wxString MakeSymbolToAddress() const override
This should return a string that when passed to the debugger will return the address of the variable...
DebuggerInfoWindow(wxWindow *parent, const wxString &title, const wxString &content)