Code::Blocks  SVN r11506
Public Member Functions | Private Attributes | List of all members
GdbCmd_AddBreakpointCondition Class Reference

Utility command to set a breakpoint condition. More...

#include <gdb_commands.h>

Inheritance diagram for GdbCmd_AddBreakpointCondition:
Collaboration diagram for GdbCmd_AddBreakpointCondition:

Public Member Functions

 GdbCmd_AddBreakpointCondition (DebuggerDriver *driver, cb::shared_ptr< DebuggerBreakpoint > bp)
 
void ParseOutput (const wxString &output)
 Parses the command's output. More...
 
- Public Member Functions inherited from DebuggerCmd
 DebuggerCmd (DebuggerDriver *driver, const wxString &cmd=_T(""), bool logToNormalLog=false)
 
virtual ~DebuggerCmd ()
 
virtual void Action ()
 Executes an action. More...
 
virtual bool IsContinueCommand () const
 Tells if the command is a continue type command (continue, step, next and run to cursor commands should be marked as such) More...
 

Private Attributes

cb::shared_ptr< DebuggerBreakpointm_BP
 

Additional Inherited Members

- Public Attributes inherited from DebuggerCmd
wxString m_Cmd
 the actual command More...
 
- Protected Attributes inherited from DebuggerCmd
DebuggerDriverm_pDriver
 the driver More...
 
bool m_LogToNormalLog
 if true, log to normal log, else the debug log More...
 

Detailed Description

Utility command to set a breakpoint condition.

Catches errors when setting an invalid condition and responds.

(called by GdbCmd_AddBreakpoint)

Definition at line 387 of file gdb_commands.h.

Constructor & Destructor Documentation

◆ GdbCmd_AddBreakpointCondition()

GdbCmd_AddBreakpointCondition::GdbCmd_AddBreakpointCondition ( DebuggerDriver driver,
cb::shared_ptr< DebuggerBreakpoint bp 
)
inline
Parameters
bpThe breakpoint to set its condition.

Definition at line 392 of file gdb_commands.h.

References _T, wxString::Format(), and DebuggerCmd::m_Cmd.

Member Function Documentation

◆ ParseOutput()

void GdbCmd_AddBreakpointCondition::ParseOutput ( const wxString output)
inlinevirtual

Member Data Documentation

◆ m_BP

cb::shared_ptr<DebuggerBreakpoint> GdbCmd_AddBreakpointCondition::m_BP
private

Definition at line 389 of file gdb_commands.h.


The documentation for this class was generated from the following file: