From 57c4a0443ea718d490ad4ea57a001b034d3262d7 Mon Sep 17 00:00:00 2001 From: hachem Date: Sun, 24 Nov 2024 15:54:34 +0100 Subject: feat: process execution --- src/ui/ui.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/ui/ui.h') diff --git a/src/ui/ui.h b/src/ui/ui.h index fd86497..d5b2471 100644 --- a/src/ui/ui.h +++ b/src/ui/ui.h @@ -13,6 +13,7 @@ namespace Hsdbg { class Debugger; class Window; + struct StackFrame; class Ui { @@ -63,6 +64,9 @@ namespace Hsdbg auto push_console(std::string line) -> void; auto report(const Result& result, std::string_view action) -> void; + auto follow_stop(Debugger& debugger) -> void; + auto show_frame(const StackFrame& frame) -> void; + Window* m_window = nullptr; SourceView m_source_view; PanelVisibility m_visible; @@ -71,6 +75,8 @@ namespace Hsdbg std::string m_console_input; std::string m_target_input; + uint64_t m_followed_stop = 0; + bool m_layout_built = false; bool m_console_scroll_pending = false; bool m_load_target_pending = false; -- cgit v1.3