From 4f74d1400180ca4ad7cfcd1903386fda8779818d Mon Sep 17 00:00:00 2001 From: hachem Date: Fri, 18 Sep 2026 12:25:58 +0200 Subject: feat: improve layout and themes --- src/debugger/types.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/debugger/types.h') 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 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 -- cgit v1.3