diff options
author | Ely Ronnen <elyronnen@gmail.com> | 2025-08-21 00:31:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-21 00:31:48 +0200 |
commit | 8b64cd8be29da9ea74db5a1a21f7cd6e75f9e9d8 (patch) | |
tree | 74d2ce83200969b34618c5c7a41401b53c023f4c /lldb/packages/Python/lldbsuite/test | |
parent | 27fc9671f93556b2af36d028b0b47ab7edd3cc3d (diff) | |
download | llvm-8b64cd8be29da9ea74db5a1a21f7cd6e75f9e9d8.zip llvm-8b64cd8be29da9ea74db5a1a21f7cd6e75f9e9d8.tar.gz llvm-8b64cd8be29da9ea74db5a1a21f7cd6e75f9e9d8.tar.bz2 |
[lldb-dap] Add module symbol table viewer to VS Code extension #140626 (#153836)
- VS Code extension:
- Add module symbol table viewer using
[Tabulator](https://tabulator.info/) for sorting and formatting rows.
- Add context menu action to the modules tree.
- lldb-dap
- Add `DAPGetModuleSymbolsRequest` to get symbols from a module.
Fixes #140626
[Screencast From 2025-08-15
19-12-33.webm](https://github.com/user-attachments/assets/75e2f229-ac82-487c-812e-3ea33a575b70)
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py index 939be99..7acb9c8 100644 --- a/lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py +++ b/lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py @@ -1199,6 +1199,25 @@ class DebugCommunication(object): } ) + def request_moduleSymbols( + self, + moduleId: str = "", + moduleName: str = "", + startIndex: int = 0, + count: int = 0, + ): + command_dict = { + "command": "__lldb_moduleSymbols", + "type": "request", + "arguments": { + "moduleId": moduleId, + "moduleName": moduleName, + "startIndex": startIndex, + "count": count, + }, + } + return self.send_recv(command_dict) + def request_stackTrace( self, threadId=None, startFrame=None, levels=None, format=None, dump=False ): |