aboutsummaryrefslogtreecommitdiff
path: root/src/ui/ui.h
diff options
context:
space:
mode:
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;