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

Command to the attach to a process. More...

#include <cdb_commands.h>

Inheritance diagram for CdbCmd_AttachToProcess:
Collaboration diagram for CdbCmd_AttachToProcess:

Public Member Functions

 CdbCmd_AttachToProcess (DebuggerDriver *driver, int pid)
 
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

int m_pid
 

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 the attach to a process.

Definition at line 168 of file cdb_commands.h.

Constructor & Destructor Documentation

◆ CdbCmd_AttachToProcess()

CdbCmd_AttachToProcess::CdbCmd_AttachToProcess ( DebuggerDriver *  driver,
int  pid 
)
inline
Parameters
fileThe file to debug.

Definition at line 174 of file cdb_commands.h.

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

Member Function Documentation

◆ ParseOutput()

void CdbCmd_AttachToProcess::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 180 of file cdb_commands.h.

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

Member Data Documentation

◆ m_pid

int CdbCmd_AttachToProcess::m_pid
private

Definition at line 171 of file cdb_commands.h.


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