Code::Blocks  SVN r11506
Public Member Functions | List of all members
CdbCmd_AddSourceDir Class Reference

Command to add a search directory for source files in debugger's paths. More...

#include <cdb_commands.h>

Inheritance diagram for CdbCmd_AddSourceDir:
Collaboration diagram for CdbCmd_AddSourceDir:

Public Member Functions

 CdbCmd_AddSourceDir (DebuggerDriver *driver, const wxString &dir)
 If dir is empty, resets all search dirs to $cdir:$cwd, the default. More...
 
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...
 

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 add a search directory for source files in debugger's paths.

Definition at line 43 of file cdb_commands.h.

Constructor & Destructor Documentation

◆ CdbCmd_AddSourceDir()

CdbCmd_AddSourceDir::CdbCmd_AddSourceDir ( DebuggerDriver *  driver,
const wxString &  dir 
)
inline

If dir is empty, resets all search dirs to $cdir:$cwd, the default.

Definition at line 47 of file cdb_commands.h.

References _T, and DebuggerCmd::m_Cmd.

Member Function Documentation

◆ ParseOutput()

void CdbCmd_AddSourceDir::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 52 of file cdb_commands.h.

References _T, wxString::BeforeFirst(), DebuggerDriver::Log(), DebuggerCmd::m_pDriver, and wxString::StartsWith().


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