Code::Blocks  SVN r11506
Classes | Typedefs | Enumerations | Functions | Variables
debugger_defs.h File Reference
#include <wx/string.h>
#include <wx/dynarray.h>
#include <deque>
#include <vector>
#include "debuggermanager.h"
Include dependency graph for debugger_defs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Cursor
 Debugger cursor info. More...
 
class  DebuggerCmd
 Basic interface for debugger commands. More...
 
class  DebuggerInfoCmd
 This command is similar to DebuggerCmd The only difference is that instead of logging its output in the debugger log, it displays it in a dialog. More...
 
class  DebuggerContinueBaseCmd
 Base class for all Continue type of commands. More...
 
class  DbgCmd_UpdateWatchesTree
 Action-only debugger command to signal the watches tree to update. More...
 
struct  DebuggerBreakpoint
 Debugger breakpoint interface. More...
 
class  GDBWatch
 

Typedefs

typedef std::deque< cb::shared_ptr< DebuggerBreakpoint > > BreakpointsList
 
typedef std::vector< cb::shared_ptr< GDBWatch > > WatchesContainer
 

Enumerations

enum  WatchFormat {
  Undefined = 0, Decimal, Unsigned, Hex,
  Binary, Char, Float, Last,
  Any
}
 Watch variable format. More...
 
enum  DebuggerLanguage { dl_Cpp = 0, dl_Fortran }
 

Functions

bool IsPointerType (wxString type)
 
wxString CleanStringValue (wxString value)
 

Variables

const int DEBUGGER_CURSOR_CHANGED
 wxCommandEvent ID fired when the cursor has changed. More...
 
const int DEBUGGER_SHOW_FILE_LINE
 wxCommandEvent ID fired to display a file/line (w/out changing the cursor) More...
 
DebuggerLanguage g_DebugLanguage
 

Typedef Documentation

◆ BreakpointsList

typedef std::deque<cb::shared_ptr<DebuggerBreakpoint> > BreakpointsList

Definition at line 191 of file debugger_defs.h.

◆ WatchesContainer

typedef std::vector<cb::shared_ptr<GDBWatch> > WatchesContainer

Definition at line 261 of file debugger_defs.h.

Enumeration Type Documentation

◆ DebuggerLanguage

Enumerator
dl_Cpp 

C++ or C language.

dl_Fortran 

Fortran language.

Definition at line 266 of file debugger_defs.h.

◆ WatchFormat

Watch variable format.

Note
not all formats are implemented for all debugger drivers.
Enumerator
Undefined 

Format is undefined (whatever the debugger uses by default).

Decimal 

Variable should be displayed as decimal.

Unsigned 

Variable should be displayed as unsigned.

Hex 

Variable should be displayed as hexadecimal (e.g. 0xFFFFFFFF).

Binary 

Variable should be displayed as binary (e.g. 00011001).

Char 

Variable should be displayed as a single character (e.g. 'x').

Float 

Variable should be displayed as floating point number (e.g. 14.35)

Last 

used for iterations

Any 

used for watches searches

Definition at line 197 of file debugger_defs.h.

Function Documentation

◆ CleanStringValue()

wxString CleanStringValue ( wxString  value)

◆ IsPointerType()

bool IsPointerType ( wxString  type)

Variable Documentation

◆ DEBUGGER_CURSOR_CHANGED

const int DEBUGGER_CURSOR_CHANGED

wxCommandEvent ID fired when the cursor has changed.

Definition at line 27 of file debugger_defs.cpp.

Referenced by DebuggerDriver::NotifyCursorChanged().

◆ DEBUGGER_SHOW_FILE_LINE

const int DEBUGGER_SHOW_FILE_LINE

wxCommandEvent ID fired to display a file/line (w/out changing the cursor)

Definition at line 28 of file debugger_defs.cpp.

Referenced by DebuggerDriver::ShowFile().

◆ g_DebugLanguage

DebuggerLanguage g_DebugLanguage