diff options
| author | hachem <im@hachem.wtf> | 2026-08-29 01:59:56 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-08-29 01:59:56 +0200 |
| commit | f581953b0f2bc092cd8ca5d8243eeb61622d89d9 (patch) | |
| tree | 6a9ccefaa6e2ec646f8d3eaccd905508dcbe5209 /src/debugger/debugger.h | |
| parent | ba64bcc9c38c04bd48e79ac59788b946454f4acb (diff) | |
feat: source tree and symbols panel
Diffstat (limited to 'src/debugger/debugger.h')
| -rw-r--r-- | src/debugger/debugger.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/debugger/debugger.h b/src/debugger/debugger.h index 175683e..e2277df 100644 --- a/src/debugger/debugger.h +++ b/src/debugger/debugger.h @@ -58,6 +58,7 @@ namespace Hsdbg auto locals() const -> std::span<const Variable> { return m_locals; } auto registers() const -> std::span<const Register> { return m_registers; } auto symbols() const -> std::span<const Symbol> { return m_symbols; } + auto source_files() const -> std::span<const std::filesystem::path> { return m_source_files; } auto disassembly() const -> std::span<const Instruction> { return m_disassembly; } auto disassembly_name() const -> std::string_view { return m_disassembly_name; } auto evaluate(std::string_view expression) -> Result<std::string>; @@ -106,6 +107,7 @@ namespace Hsdbg auto refresh_call_stack() -> void; auto refresh_frame_data() -> void; auto refresh_symbols() -> void; + auto refresh_source_files() -> void; auto refresh_disassembly() -> void; auto load_disassembly(uint64_t file_address) -> void; @@ -125,6 +127,7 @@ namespace Hsdbg std::vector<Variable> m_locals; std::vector<Register> m_registers; std::vector<Symbol> m_symbols; + std::vector<std::filesystem::path> m_source_files; std::vector<Instruction> m_disassembly; std::string m_disassembly_name; std::vector<std::string> m_console_output; |
