Logo Search packages:      
Sourcecode: codeblocks version File versions  Download package

Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Types | Private Member Functions | Private Attributes

DebuggerGDB Class Reference

Inheritance diagram for DebuggerGDB:
Inheritance graph
[legend]
Collaboration diagram for DebuggerGDB:
Collaboration graph
[legend]

List of all members.

Public Member Functions

bool AddBreakpoint (const wxString &file, int line)
 Request to add a breakpoint.
bool AddBreakpoint (const wxString &functionSignature)
 Request to add a breakpoint based on a function signature.
void Backtrace ()
void Break ()
 Break the debugging process (stop the debuggee for debugging).
void BringAppToFront ()
void BuildMenu (wxMenuBar *menuBar)
void BuildModuleMenu (const ModuleType type, wxMenu *menu, const FileTreeData *data=0)
bool BuildToolBar (wxToolBar *toolBar)
virtual bool CanDetach () const
int Configure ()
void Continue ()
 Continue running the debugged program.
int Debug ()
 Start a new debugging process.
void DebugLog (const wxString &msg)
void Disassemble ()
void EditorLinesAddedOrRemoved (cbEditor *editor, int startline, int lines)
 Notify the debugger that lines were added or removed in an editor. This causes the debugger to keep the breakpoints list in-sync with the editors (i.e. what the user sees).
int GetConfigurationGroup () const
cbConfigurationPanelGetConfigurationPanel (wxWindow *parent)
int GetConfigurationPriority () const
int GetExitCode () const
 Get the exit code of the last debug process.
cbConfigurationPanelGetProjectConfigurationPanel (wxWindow *parent, cbProject *project)
RemoteDebuggingMap & GetRemoteDebuggingMap (cbProject *project=0)
wxArrayString & GetSearchDirs (cbProject *prj)
DebuggerStateGetState ()
virtual PluginType GetType () const
bool IsAttached () const
bool IsRunning () const
 Is the plugin currently debugging?
void Log (const wxString &msg)
void MemoryDump ()
void Next ()
 Execute the next instruction and return control to the debugger.
void NextInstr ()
void OnAttach ()
void OnProjectLoadingHook (cbProject *project, TiXmlElement *elem, bool loading)
void OnRelease (bool appShutDown)
void RefreshConfiguration ()
void Registers ()
bool RemoveAllBreakpoints (const wxString &file=wxEmptyString)
 Request to remove all breakpoints from a file.
bool RemoveBreakpoint (const wxString &functionSignature)
 Request to remove a breakpoint based on a function signature.
bool RemoveBreakpoint (const wxString &file, int line)
 Request to remove a breakpoint based on a file/line pair.
void RunCommand (int cmd)
void RunningThreads ()
void RunToCursor ()
void SendCommand (const wxString &cmd)
void Step ()
 Execute the next instruction, stepping into function calls if needed, and return control to the debugger.
void StepOut ()
void Stop ()
 Stop the debugging process (exit debugging).
void SyncEditor (const wxString &filename, int line, bool setMarker=true)
void ToggleBreakpoint ()
bool Validate (const wxString &line, const char cb)

Static Public Member Functions

static void ConvertToGDBDirectory (wxString &str, wxString base=_T(""), bool relative=true)
static void ConvertToGDBFile (wxString &str)
static void ConvertToGDBFriendly (wxString &str)
static void StripQuotes (wxString &str)

Protected Member Functions

void AddSourceDir (const wxString &dir)
virtual void NotImplemented (const wxString &log) const

Protected Attributes

bool m_IsAttached
PluginType m_Type

Private Types

typedef std::map< cbProject
*, RemoteDebuggingMap > 
ProjectRemoteDebuggingMap
typedef std::map< cbProject
*, wxArrayString > 
SearchDirsMap

Private Member Functions

void AddDataBreakpoint ()
void ClearActiveMarkFromAllEditors ()
int DoDebug ()
void DoSwitchToDebuggingLayout ()
void DoSwitchToPreviousLayout ()
void DoWatches ()
bool EnsureBuildUpToDate ()
wxString FindDebuggerExecutable (Compiler *compiler)
wxString GetConsoleTty (int ConsolePid)
wxString GetDebuggee (ProjectBuildTarget *target)
wxString GetEditorWordAtCaret ()
bool IsStopped ()
int LaunchProcess (const wxString &cmd, const wxString &cwd)
void OnAddDataBreakpoint (wxCommandEvent &event)
void OnAddSymbolFile (wxCommandEvent &event)
void OnAddWatch (wxCommandEvent &event)
void OnAttachToProcess (wxCommandEvent &event)
void OnBacktrace (wxCommandEvent &event)
void OnBreakpointAdd (CodeBlocksEvent &event)
void OnBreakpointDelete (CodeBlocksEvent &event)
void OnBreakpointEdit (CodeBlocksEvent &event)
void OnBreakpoints (wxCommandEvent &event)
void OnBuildTargetSelected (CodeBlocksEvent &event)
void OnCompilerFinished (CodeBlocksEvent &event)
void OnCompilerStarted (CodeBlocksEvent &event)
void OnContinue (wxCommandEvent &event)
void OnCursorChanged (wxCommandEvent &event)
void OnDebug (wxCommandEvent &event)
void OnDebugWindows (wxCommandEvent &event)
void OnDetach (wxCommandEvent &event)
void OnDisassemble (wxCommandEvent &event)
void OnEditorOpened (CodeBlocksEvent &event)
void OnEditWatches (wxCommandEvent &event)
void OnExamineMemory (wxCommandEvent &event)
void OnGDBError (wxCommandEvent &event)
void OnGDBOutput (wxCommandEvent &event)
void OnGDBTerminated (wxCommandEvent &event)
void OnIdle (wxIdleEvent &event)
void OnInfoDLL (wxCommandEvent &event)
void OnInfoFiles (wxCommandEvent &event)
void OnInfoFPU (wxCommandEvent &event)
void OnInfoFrame (wxCommandEvent &event)
void OnInfoSignals (wxCommandEvent &event)
void OnNext (wxCommandEvent &event)
void OnNextInstr (wxCommandEvent &event)
void OnProjectActivated (CodeBlocksEvent &event)
void OnProjectClosed (CodeBlocksEvent &event)
void OnRegisters (wxCommandEvent &event)
void OnRemoveAllBreakpoints (wxCommandEvent &event)
void OnRunningThreads (wxCommandEvent &event)
void OnRunToCursor (wxCommandEvent &event)
void OnSendCommandToGDB (wxCommandEvent &event)
void OnSettings (wxCommandEvent &event)
void OnShowFile (wxCommandEvent &event)
void OnStep (wxCommandEvent &event)
void OnStepOut (wxCommandEvent &event)
void OnStop (wxCommandEvent &event)
void OnTimer (wxTimerEvent &event)
void OnToggleBreakpoint (wxCommandEvent &event)
void OnToolInfo (wxCommandEvent &event)
void OnUpdateUI (wxUpdateUIEvent &event)
void OnValueTooltip (CodeBlocksEvent &event)
void OnViewWatches (wxCommandEvent &event)
void OnWatchesChanged (wxCommandEvent &event)
void ParseOutput (const wxString &output)
int RunNixConsole ()

Private Attributes

wxString m_ActiveBuildTarget
bool m_bIsConsole
bool m_BreakOnEntry
bool m_Canceled
wxString m_ConsoleTty
StackFrame m_CurrentFrame
int m_DbgPageIndex
wxRect m_EvalRect
int m_HaltAtLine
bool m_HasDebugLog
int m_HookId
wxString m_LastCmd
wxString m_LastEval
bool m_LastExitCode
int m_nConsolePid
bool m_NoDebugInfo
int m_PageIndex
BacktraceDlgm_pBacktrace
BreakpointsDlgm_pBreakpointsWindow
cbCompilerPluginm_pCompiler
CPURegistersDlgm_pCPURegisters
DebugTextCtrlLoggerm_pDbgLog
DisassemblyDlgm_pDisassembly
ExamineMemoryDlgm_pExamineMemoryDlg
int m_Pid
int m_PidToAttach
DebugTextCtrlLoggerm_pLog
wxMenu * m_pMenu
PipedProcessm_pProcess
cbProjectm_pProject
wxString m_PreviousLayout
wxToolBar * m_pTbar
ThreadsDlgm_pThreadsDlg
DebuggerTreem_pTree
ProjectRemoteDebuggingMap m_RemoteDebugging
SearchDirsMap m_SearchDirs
DebuggerState m_State
bool m_StoppedOnSignal
wxTimer m_TimerPollDebugger
wxString m_Variable
bool m_WaitingCompilerToFinish
wxRegEx reSource

Detailed Description

Definition at line 45 of file debuggergdb.h.


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

Generated by  Doxygen 1.6.0   Back to index