35 void save(ImGuiTextBuffer& buf)
override;
49 void drawRegisters(
CPURegs& regs);
55 void actionStepOver();
57 void actionStepBack();
62 size_t cycleLabelsCounter = 0;
64 std::vector<std::unique_ptr<ImGuiBitmapViewer>> bitmapViewers;
65 std::vector<std::unique_ptr<ImGuiCharacter>> tileViewers;
66 std::vector<std::unique_ptr<ImGuiSpriteViewer>> spriteViewers;
67 std::vector<std::unique_ptr<DebuggableEditor>> hexEditors;
70 std::string runToAddr;
71 std::optional<unsigned> gotoTarget;
72 std::optional<float> setDisassemblyScrollY;
73 bool followPC =
false;
75 bool showControl =
false;
76 bool showDisassembly =
false;
77 bool showSlots =
false;
78 bool showStack =
false;
79 bool showRegisters =
false;
80 bool showFlags =
false;
81 bool showXYFlags =
false;
84 bool syncDisassemblyWithPC =
false;
85 float disassemblyScrollY = 0.0f;
87 static constexpr auto persistentElements = std::tuple{
89 PersistentElement{
"showDisassembly", &ImGuiDebugger::showDisassembly},
97 PersistentElementMax{
"flagsLayout", &ImGuiDebugger::flagsLayout, 2}