32 void save(ImGuiTextBuffer& buf)
override;
46 void drawRegisters(
CPURegs& regs);
52 void actionStepOver();
54 void actionStepBack();
59 size_t cycleLabelsCounter = 0;
61 std::vector<std::unique_ptr<DebuggableEditor>> hexEditors;
64 std::string runToAddr;
65 std::optional<unsigned> gotoTarget;
66 std::optional<float> setDisassemblyScrollY;
67 bool followPC =
false;
69 bool showControl =
false;
70 bool showDisassembly =
false;
71 bool showSlots =
false;
72 bool showStack =
false;
73 bool showRegisters =
false;
74 bool showFlags =
false;
75 bool showXYFlags =
false;
78 bool syncDisassemblyWithPC =
false;
79 float disassemblyScrollY = 0.0f;
81 static constexpr auto persistentElements = std::tuple{
83 PersistentElement{
"showDisassembly", &ImGuiDebugger::showDisassembly},
91 PersistentElementMax{
"flagsLayout", &ImGuiDebugger::flagsLayout, 2}