6 #ifndef DEBUGGER_DEFS_H 7 #define DEBUGGER_DEFS_H 69 virtual void ParseOutput(
const wxString& output);
98 virtual void ParseOutput(
const wxString& output);
120 virtual void Action();
147 useIgnoreCount(false),
150 wantsCondition(false),
159 virtual void SetEnabled(
bool flag);
160 virtual wxString GetLocation()
const;
161 virtual int GetLine()
const;
162 virtual wxString GetLineString()
const;
165 virtual bool IsEnabled()
const;
166 virtual bool IsVisibleInEditor()
const;
167 virtual bool IsTemporary()
const;
219 virtual void GetSymbol(
wxString &symbol)
const;
220 virtual void GetValue(
wxString &value)
const;
222 virtual void GetFullWatchString(
wxString &full_watch)
const;
223 virtual void GetType(
wxString &type)
const;
224 virtual void SetType(
const wxString &type);
226 virtual wxString const & GetDebugString()
const;
228 wxString MakeSymbolToAddress()
const override;
231 void SetDebugValue(
wxString const &value);
232 void SetSymbol(
const wxString& symbol);
237 void SetArray(
bool flag);
238 bool IsArray()
const;
239 void SetArrayParams(
int start,
int count);
240 int GetArrayStart()
const;
241 int GetArrayCount()
const;
243 void SetForTooltip(
bool flag =
true);
244 bool GetForTooltip()
const;
247 virtual void DoDestroy();
275 #endif // DEBUGGER_DEFS_H virtual bool IsContinueCommand() const
Tells if the command is a continue type command (continue, step, next and run to cursor commands shou...
virtual ~DbgCmd_UpdateWatchesTree()
int ignoreCount
The number of passes before this breakpoint should hit. useIgnoreCount must be true.
bool wantsCondition
Evaluate condition for pending breakpoints at first stop !
wxString condition
The condition that must be met for the breakpoint to hit. useCondition must be true.
wxString CleanStringValue(wxString value)
bool breakOnWrite
Valid only for type==bptData: break when memory is written to.
Base class for all Continue type of commands.
wxString lineText
Optionally, the breakpoint line's text (used by GDB for setting breapoints on ctors/dtors).
Debugger breakpoint interface.
std::vector< cb::shared_ptr< GDBWatch > > WatchesContainer
BreakpointType type
The type of this breakpoint.
const int DEBUGGER_SHOW_FILE_LINE
wxCommandEvent ID fired to display a file/line (w/out changing the cursor)
wxString m_Cmd
the actual command
DebuggerContinueBaseCmd(DebuggerDriver *driver, const wxString &cmd=_T(""), bool logToNormalLog=false)
void * userData
Custom user data.
void SetValue(WatchesProperty *prop)
long int index
The breakpoint number. Set automatically. Don't write to it.
bool IsPointerType(wxString type)
virtual ~DebuggerInfoCmd()
long int line
If -1, no line info.
Action-only debugger command to signal the watches tree to update.
bool active
Is the breakpoint active? (currently unused)
std::deque< cb::shared_ptr< DebuggerBreakpoint > > BreakpointsList
wxString filename
The filename for the breakpoint (kept as relative).
wxString func
The function to set the breakpoint. If this is set, it is preferred over the filename/line combinatio...
int line
The line for the breakpoint.
bool useIgnoreCount
Should this breakpoint be ignored for the first X passes? (x == ignoreCount)
bool m_LogToNormalLog
if true, log to normal log, else the debug log
DebuggerLanguage g_DebugLanguage
DebuggerInfoCmd(DebuggerDriver *driver, const wxString &cmd, const wxString &title)
This command is similar to DebuggerCmd The only difference is that instead of logging its output in t...
bool useCondition
Should this breakpoint hit only if a specific condition is met?
Function signature breakpoint.
const int DEBUGGER_CURSOR_CHANGED
wxCommandEvent ID fired when the cursor has changed.
unsigned long int address
The actual breakpoint address. This is read back from the debugger. Don't write to it...
wxString filenameAsPassed
The filename for the breakpoint as passed to the debugger (i.e. full filename).
bool enabled
Is the breakpoint enabled?
DebuggerDriver * m_pDriver
the driver
DebuggerBreakpoint()
Constructor.
bool IsContinueCommand() const
Tells if the command is a continue type command (continue, step, next and run to cursor commands shou...
Basic interface for debugger commands.
bool alreadySet
Is this already set? Used to mark temporary breakpoints for removal.
virtual void Action()
Executes an action.
wxString breakAddress
Valid only for type==bptData: address to break when read/written.
bool temporary
Is this a temporary (one-shot) breakpoint?
bool breakOnRead
Valid only for type==bptData: break when memory is read from.