diff options
| author | hachem <im@hachem.wtf> | 2024-11-29 21:32:31 +0100 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2024-11-29 21:32:31 +0100 |
| commit | 42100ac963a5de424a1407885599f049335036f9 (patch) | |
| tree | 707fdd61114d903b70bad460dc4921f39652766f /src/debugger/debugger.h | |
| parent | bcdc3f6311221bbe6ce9b180b5c35f3556b34aa8 (diff) | |
feat: breakpoint conditions and skip counts
Diffstat (limited to 'src/debugger/debugger.h')
| -rw-r--r-- | src/debugger/debugger.h | 2 |
1 files changed, 2 insertions, 0 deletions
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<const Breakpoint> { return m_breakpoints; } |
