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

Command to get info about a watched variable. More...

#include <cdb_commands.h>

Inheritance diagram for CdbCmd_Watch:
Collaboration diagram for CdbCmd_Watch:

Public Member Functions

 CdbCmd_Watch (DebuggerDriver *driver, cb::shared_ptr< GDBWatch > const &watch)
 
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< GDBWatch > m_watch
 

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 get info about a watched variable.

Definition at line 321 of file cdb_commands.h.

Constructor & Destructor Documentation

◆ CdbCmd_Watch()

CdbCmd_Watch::CdbCmd_Watch ( DebuggerDriver *  driver,
cb::shared_ptr< GDBWatch > const &  watch 
)
inline

Definition at line 325 of file cdb_commands.h.

References DebuggerCmd::m_Cmd, and wxT.

Member Function Documentation

◆ ParseOutput()

void CdbCmd_Watch::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 334 of file cdb_commands.h.

References Manager::Get(), Manager::GetLogManager(), LogManager::LogError(), ParseCDBWatchValue(), and wxT.

Member Data Documentation

◆ m_watch

cb::shared_ptr<GDBWatch> CdbCmd_Watch::m_watch
private

Definition at line 323 of file cdb_commands.h.


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