openMSX
|
#include <Debugger.hh>
Public Member Functions | |
Debugger (MSXMotherBoard &motherBoard) | |
Debugger (const Debugger &)=delete | |
Debugger (Debugger &&)=delete | |
Debugger & | operator= (const Debugger &)=delete |
Debugger & | operator= (Debugger &&)=delete |
~Debugger () | |
void | registerDebuggable (std::string name, Debuggable &debuggable) |
void | unregisterDebuggable (std::string_view name, Debuggable &debuggable) |
Debuggable * | findDebuggable (std::string_view name) |
const auto & | getDebuggables () const |
void | registerProbe (ProbeBase &probe) |
void | unregisterProbe (ProbeBase &probe) |
ProbeBase * | findProbe (std::string_view name) |
void | removeProbeBreakPoint (ProbeBreakPoint &bp) |
void | setCPU (MSXCPU *cpu_) |
void | transfer (Debugger &other) |
MSXMotherBoard & | getMotherBoard () |
Interpreter & | getInterpreter () |
Definition at line 27 of file Debugger.hh.
|
explicit |
Definition at line 39 of file Debugger.cc.
|
delete |
|
delete |
openmsx::Debugger::~Debugger | ( | ) |
Definition at line 47 of file Debugger.cc.
Debuggable * openmsx::Debugger::findDebuggable | ( | std::string_view | name | ) |
Definition at line 66 of file Debugger.cc.
References lookup().
Referenced by openmsx::DebuggableEditor::paint().
ProbeBase * openmsx::Debugger::findProbe | ( | std::string_view | name | ) |
Definition at line 93 of file Debugger.cc.
Referenced by transfer().
|
inline |
Definition at line 40 of file Debugger.hh.
Interpreter & openmsx::Debugger::getInterpreter | ( | ) |
Definition at line 182 of file Debugger.cc.
References openmsx::Reactor::getInterpreter(), and openmsx::MSXMotherBoard::getReactor().
|
inline |
Definition at line 51 of file Debugger.hh.
void openmsx::Debugger::registerDebuggable | ( | std::string | name, |
Debuggable & | debuggable | ||
) |
Definition at line 53 of file Debugger.cc.
Referenced by openmsx::RomDebuggable::RomDebuggable(), and openmsx::SimpleDebuggable::SimpleDebuggable().
void openmsx::Debugger::registerProbe | ( | ProbeBase & | probe | ) |
Definition at line 81 of file Debugger.cc.
References openmsx::ProbeBase::getName().
Referenced by openmsx::ProbeBase::ProbeBase().
void openmsx::Debugger::removeProbeBreakPoint | ( | ProbeBreakPoint & | bp | ) |
Definition at line 149 of file Debugger.cc.
References openmsx::CliComm::DEBUG_UPDT, openmsx::BreakPointBase< Derived >::getIdStr(), openmsx::MSXMotherBoard::getMSXCliComm(), move_pop_back(), rfind_unguarded(), and openmsx::MSXCliComm::update().
|
inline |
Definition at line 47 of file Debugger.hh.
Referenced by openmsx::MSXCPU::MSXCPU(), and openmsx::MSXCPU::~MSXCPU().
void openmsx::Debugger::transfer | ( | Debugger & | other | ) |
Definition at line 157 of file Debugger.cc.
References findProbe(), openmsx::MSXMotherBoard::getCPUInterface(), and openmsx::MSXCPUInterface::getWatchPoints().
void openmsx::Debugger::unregisterDebuggable | ( | std::string_view | name, |
Debuggable & | debuggable | ||
) |
Definition at line 59 of file Debugger.cc.
Referenced by openmsx::RomDebuggable::~RomDebuggable(), and openmsx::SimpleDebuggable::~SimpleDebuggable().
void openmsx::Debugger::unregisterProbe | ( | ProbeBase & | probe | ) |
Definition at line 87 of file Debugger.cc.
References openmsx::ProbeBase::getName().
Referenced by openmsx::ProbeBase::~ProbeBase().