llvm-project/lldb/tools
Greg Clayton 4017d86df9 When there are variable errors, display an error in VS Code's local variables view.
After recent diffs that enable variable errors that stop variables from being correctly displayed when debugging, allow users to see these errors in the LOCALS variables in the VS Code UI. We do this by detecting when no variables are available and when there is an error to be displayed, and we add a single variable named "<error>" whose value is a string error that the user can read. This allows the user to be aware of the reason variables are not available and fix the issue. Previously if someone enabled "-gline-tables-only" or was debugging with DWARF in .o files or with .dwo files and those separate object files were missing or they were out of date, the user would see nothing in the variables view. Communicating these errors to the user is essential to a good debugging experience.

Differential Revision: https://reviews.llvm.org/D134333
2022-09-29 10:55:16 -07:00
..
argdumper [lldb] Remove a few unused .exports files 2021-08-05 22:17:00 +02:00
compact-unwind Don't re-define constants that are now in compact_unwind_encoding.h. 2021-09-09 17:01:43 -07:00
darwin-debug [lldb][NFC] Use C++ versions of the deprecated C standard library headers 2021-05-26 12:46:12 +02:00
darwin-threads
debugserver [lldb] Fixed a number of typos 2022-09-13 10:38:38 -07:00
driver [lldb] Remove LLDB reproducers 2022-09-19 14:43:31 -07:00
intel-features Revert "[cmake] Use `CMAKE_INSTALL_LIBDIR` too" 2022-08-18 22:46:32 -04:00
lldb-fuzzer [lldb][fuzz] Allow expression fuzzer to be passed as a flag. 2022-09-13 15:39:15 -07:00
lldb-instr [lldb] Revive lldb-instr 2022-01-20 18:06:14 -08:00
lldb-server [LLDB][RISCV] Make software single stepping work 2022-08-16 23:44:50 +08:00
lldb-test [lldb] Use Optional::value instead of Optional::getValue (NFC) 2022-08-19 21:40:48 -07:00
lldb-vscode When there are variable errors, display an error in VS Code's local variables view. 2022-09-29 10:55:16 -07:00
CMakeLists.txt [lldb] Add a fuzzer for target creation 2022-03-25 09:34:00 -07:00