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

Command to setup an exception breakpoint (for a throw or a catch). More...

#include <gdb_commands.h>

Inheritance diagram for GdbCmd_SetCatch:
Collaboration diagram for GdbCmd_SetCatch:

Public Member Functions

 GdbCmd_SetCatch (DebuggerDriver *driver, const wxString &type, int *resultIndex)
 
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

wxString m_type
 
int * m_resultIndex
 
wxRegEx m_regExp
 

Additional Inherited Members

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

Detailed Description

Command to setup an exception breakpoint (for a throw or a catch).

Definition at line 631 of file gdb_commands.h.

Constructor & Destructor Documentation

◆ GdbCmd_SetCatch()

GdbCmd_SetCatch::GdbCmd_SetCatch ( DebuggerDriver *  driver,
const wxString &  type,
int *  resultIndex 
)
inline

Definition at line 637 of file gdb_commands.h.

References DebuggerCmd::m_Cmd, wxRE_ADVANCED, and wxT.

Member Function Documentation

◆ ParseOutput()

void GdbCmd_SetCatch::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 646 of file gdb_commands.h.

References wxRegEx::GetMatch(), and wxRegEx::Matches().

Member Data Documentation

◆ m_regExp

wxRegEx GdbCmd_SetCatch::m_regExp
private

Definition at line 635 of file gdb_commands.h.

◆ m_resultIndex

int* GdbCmd_SetCatch::m_resultIndex
private

Definition at line 634 of file gdb_commands.h.

◆ m_type

wxString GdbCmd_SetCatch::m_type
private

Definition at line 633 of file gdb_commands.h.


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