aboutsummaryrefslogtreecommitdiff
path: root/src/ui/ui.h
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2026-08-28 15:54:34 +0200
committerhachem <im@hachem.wtf>2026-08-28 15:54:34 +0200
commitaf616a407627d87a787ae78cc36c58ac4ed3ccad (patch)
treec6b3a75e08183afc345a79889485bf2aa04dd4bd /src/ui/ui.h
parent9a6ce759212d293a96f82678b59148d8a49efc93 (diff)
add: process execution
Diffstat (limited to 'src/ui/ui.h')
-rw-r--r--src/ui/ui.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ui/ui.h b/src/ui/ui.h
index 90c314d..df6f7bd 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
{
@@ -64,6 +65,9 @@ namespace Hsdbg
auto push_console(std::string line) -> void;
auto report(const Result<void>& 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;
@@ -72,6 +76,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;