diff options
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 |
