Code::Blocks
SVN r11506
|
#include "sdk_precomp.h"
#include <algorithm>
#include <sstream>
#include <wx/toolbar.h>
#include "debuggermanager.h"
#include "annoyingdialog.h"
#include "cbdebugger_interfaces.h"
#include "loggers.h"
#include "manager.h"
Go to the source code of this file.
Classes | |
class | DebugTextCtrlLogger |
class | DebugLogPanel |
Functions | |
bool | TestIfMarkedForRemoval (cb::shared_ptr< cbWatch > watch) |
cb::shared_ptr< cbWatch > DLLIMPORT | cbGetRootWatch (cb::shared_ptr< cbWatch > watch) |
wxString | cbDetectDebuggerExecutable (const wxString &exeName) |
Tries to detect the path to the debugger's executable. More... | |
uint64_t | cbDebuggerStringToAddress (const wxString &address) |
Convert a string in hex form to a uint64_t number. More... | |
wxString | cbDebuggerAddressToString (uint64_t address) |
Convert a uint64_t variable to a hex string that will look like an address. More... | |
void | ReadActiveDebuggerConfig (wxString &name, int &configIndex) |
void | WriteActiveDebuggerConfig (const wxString &name, int configIndex) |
void | RefreshBreakpoints (cb_unused const cbDebuggerPlugin *plugin) |
wxString cbDebuggerAddressToString | ( | uint64_t | address | ) |
Convert a uint64_t variable to a hex string that will look like an address.
Definition at line 493 of file debuggermanager.cpp.
Referenced by DisassemblyDlg::AddAssemblerLine(), and cbStackFrame::GetAddressAsString().
uint64_t cbDebuggerStringToAddress | ( | const wxString & | address | ) |
Convert a string in hex form to a uint64_t number.
Definition at line 483 of file debuggermanager.cpp.
References wxString::empty(), and wxString::utf8_str().
Referenced by GdbCmd_Backtrace::MatchLine(), DebuggerGDB::OnCursorChanged(), CdbCmd_Backtrace::ParseOutput(), CdbCmd_Disassembly::ParseOutput(), CdbCmd_DisassemblyInit::ParseOutput(), GdbCmd_Disassembly::ParseOutput(), GdbCmd_DisassemblyInit::ParseOutput(), GdbCmd_StepOrNextInstruction::ParseOutput(), and DisassemblyDlg::SetActiveAddress().
Tries to detect the path to the debugger's executable.
Definition at line 455 of file debuggermanager.cpp.
References cbFindFileInPATH(), wxString::empty(), ConfigManager::GetExecutableFolder(), wxFileName::GetPathSeparator(), HTMLTags::sep, wxDirExists(), wxEmptyString, wxFileExists(), and wxT.
Referenced by DebuggerConfiguration::GetDebuggerExecutable().
Definition at line 217 of file debuggermanager.cpp.
Referenced by DebuggerManager::GetDebuggerHavingWatch(), WatchesDlg::OnMenuUpdate(), WatchesDlg::OnPropertyRightClick(), and DebuggerGDB::SetWatchValue().
|
inline |
Definition at line 680 of file debuggermanager.cpp.
References _T, wxString::empty(), Manager::Get(), Manager::GetConfigManager(), ConfigManager::Read(), ConfigManager::ReadInt(), wxEmptyString, and wxT.
Referenced by DebuggerManager::DebuggerManager(), and DebuggerManager::RegisterDebugger().
|
inline |
Definition at line 1170 of file debuggermanager.cpp.
References Manager::Get(), EditorManager::GetEditor(), Manager::GetEditorManager(), EditorManager::GetEditorsCount(), and EditorBase::IsBuiltinEditor().
Referenced by DebuggerManager::RefreshUI().
|
inline |
Definition at line 71 of file debuggermanager.cpp.
Referenced by cbWatch::RemoveMarkedChildren().
|
inline |
Definition at line 690 of file debuggermanager.cpp.
References _T, Manager::Get(), Manager::GetConfigManager(), ConfigManager::Write(), and wxT.
Referenced by DebuggerManager::FindTargetsDebugger(), and DebuggerManager::SetActiveDebugger().