diff options
| author | hachem <im@hachem.wtf> | 2026-09-18 12:25:58 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-09-18 12:25:58 +0200 |
| commit | 4f74d1400180ca4ad7cfcd1903386fda8779818d (patch) | |
| tree | 258a332c3076045461b5d6f8592a52140225abd1 /src/debugger/types.h | |
| parent | 0846724177d823b632f2a4deffdcb5b6e226cd56 (diff) | |
feat: improve layout and themes
Diffstat (limited to 'src/debugger/types.h')
| -rw-r--r-- | src/debugger/types.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/debugger/types.h b/src/debugger/types.h index 53c6622..288df6b 100644 --- a/src/debugger/types.h +++ b/src/debugger/types.h @@ -110,6 +110,11 @@ namespace Hsdbg std::string function; std::filesystem::path file; uint32_t line = 0; + + // the lines the function spans in that file (zero when unknown, as for + // an inlined frame), so the ui can keep its annotations inside it + uint32_t function_first_line = 0; + uint32_t function_last_line = 0; }; struct Thread @@ -125,6 +130,10 @@ namespace Hsdbg std::string type; std::string value; std::vector<Variable> children; + + // the line the variable is declared on in the frame's own file (a + // parameter's is the signature), zero when unknown or elsewhere + uint32_t declaration_line = 0; }; struct Register |
