From 42100ac963a5de424a1407885599f049335036f9 Mon Sep 17 00:00:00 2001 From: hachem Date: Fri, 29 Nov 2024 21:32:31 +0100 Subject: feat: breakpoint conditions and skip counts --- src/debugger/debugger.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/debugger/debugger.h') diff --git a/src/debugger/debugger.h b/src/debugger/debugger.h index 021c92a..a62a9bd 100644 --- a/src/debugger/debugger.h +++ b/src/debugger/debugger.h @@ -42,6 +42,8 @@ namespace Hsdbg auto add_function_breakpoint(std::string_view function) -> uint32_t; auto remove_breakpoint(uint32_t id) -> bool; auto set_breakpoint_enabled(uint32_t id, bool enabled) -> bool; + auto set_breakpoint_condition(uint32_t id, std::string_view condition) -> bool; + auto set_breakpoint_ignore_count(uint32_t id, uint32_t count) -> bool; auto clear_breakpoints() -> void; auto find_breakpoint(uint32_t id) -> Breakpoint*; auto breakpoints() const -> std::span { return m_breakpoints; } -- cgit v1.3