hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/src/ui/ui.h
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2024-11-24 15:54:34 +0100
committerhachem <im@hachem.wtf>2024-11-24 15:54:34 +0100
commit57c4a0443ea718d490ad4ea57a001b034d3262d7 (patch)
tree87680439bd8032488a06b9e2d4da4c340f7daec4 /src/ui/ui.h
parentb641d7306c61cdc0b5dcee9fedba434afbfb694b (diff)
feat: 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 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<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;
@@ -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;