32 void save(ImGuiTextBuffer& buf)
override;
45 void drawRegisters(
CPURegs& regs);
51 void actionStepOver();
53 void actionStepBack();
57 size_t cycleLabelsCounter = 0;
59 std::vector<std::unique_ptr<DebuggableEditor>> hexEditors;
62 std::string runToAddr;
63 std::optional<unsigned> gotoTarget;
64 std::optional<float> setDisassemblyScrollY;
65 bool followPC =
false;
67 bool showControl =
false;
68 bool showDisassembly =
false;
69 bool showSlots =
false;
70 bool showStack =
false;
71 bool showRegisters =
false;
72 bool showFlags =
false;
73 bool showXYFlags =
false;
76 bool syncDisassemblyWithPC =
false;
77 float disassemblyScrollY = 0.0f;
79 static constexpr auto persistentElements = std::tuple{
81 PersistentElement{
"showDisassembly", &ImGuiDebugger::showDisassembly},
89 PersistentElementMax{
"flagsLayout", &ImGuiDebugger::flagsLayout, 2}