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

Command to add a breakpoint. More...

#include <cdb_commands.h>

Inheritance diagram for CdbCmd_AddBreakpoint:
Collaboration diagram for CdbCmd_AddBreakpoint:

Public Member Functions

 CdbCmd_AddBreakpoint (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...
 

Public Attributes

cb::shared_ptr< DebuggerBreakpointm_BP
 
- Public Attributes inherited from DebuggerCmd
wxString m_Cmd
 the actual command More...
 

Static Private Attributes

static int m_lastIndex = 1
 

Additional Inherited Members

- 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

Command to add a breakpoint.

Definition at line 244 of file cdb_commands.h.

Constructor & Destructor Documentation

◆ CdbCmd_AddBreakpoint()

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

Definition at line 249 of file cdb_commands.h.

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

Member Function Documentation

◆ ParseOutput()

void CdbCmd_AddBreakpoint::ParseOutput ( const wxString output)
inlinevirtual

Parses the command's output.

Parameters
Theoutput. This is the full output up to (and including) the prompt.

Reimplemented from DebuggerCmd.

Definition at line 272 of file cdb_commands.h.

References _T, GetArrayFromString(), wxArrayString::GetCount(), DebuggerDriver::Log(), and DebuggerCmd::m_pDriver.

Member Data Documentation

◆ m_BP

cb::shared_ptr<DebuggerBreakpoint> CdbCmd_AddBreakpoint::m_BP

Definition at line 287 of file cdb_commands.h.

◆ m_lastIndex

int CdbCmd_AddBreakpoint::m_lastIndex = 1
staticprivate

Definition at line 246 of file cdb_commands.h.


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