llvm-capstone/lldb
jeffreytan81 85ee3fc7ec
Fix command escape bug in lldb-dap (#72902)
https://github.com/llvm/llvm-project/pull/69238 caused breakage in
VSCode debug console usage -- the user's input is always treated as
commands instead of expressions (the same behavior as if empty command
escape prefix is specified).

The bug is in one overload of `GetString()` which did not respect the
default value of "\`". But more important, I am puzzled to find out why
the regression is not caught by lldb test (testdap_evaluate). Turns out
https://github.com/llvm/llvm-project/pull/69238 specifies
commandEscapePrefix default value in test framework to be "\`" while
VSCode will default not specify any commandEscapePrefix at all. Changing
it to None will fail `testdap_evaluate`. We should align the default
behavior between DAP client and testcase.

This patches fixes the bug in `GetString()` and changed the default
value of commandEscapePrefix in testcases to be None (be consistent with
IDE).

Co-authored-by: jeffreytan81 <jeffreytan@fb.com>
2023-11-20 15:57:14 -08:00
..
bindings Remove hardware index from watchpoints and breakpoints (#72012) 2023-11-15 13:32:42 -08:00
cmake [lldb][windows] Allow exporting plugin symbols in LLDB_EXPORT_ALL_SYMBOLS (#71087) 2023-11-02 15:06:16 -07:00
docs Remove hardware index from watchpoints and breakpoints (#72012) 2023-11-15 13:32:42 -08:00
examples [lldb] Pass important options to dsymForUUID (#72669) 2023-11-17 08:00:07 -08:00
include [lldb][split-dwarf] implement GetSeparateDebugInfo for SymbolFileOnDemand (#71230) 2023-11-20 12:17:15 -08:00
packages/Python/lldbsuite Fix command escape bug in lldb-dap (#72902) 2023-11-20 15:57:14 -08:00
resources [lldb][NFC] Remove copy of debugserver entitlements plist 2023-01-31 12:58:37 -08:00
scripts [lldb] Replace the usage of module imp with module importlib (#70443) 2023-10-31 17:08:55 -03:00
source Revert "Add new API in SBTarget for loading core from SBFile (#71769)" 2023-11-20 11:12:34 +05:00
test [lldb][split-dwarf] implement GetSeparateDebugInfo for SymbolFileOnDemand (#71230) 2023-11-20 12:17:15 -08:00
third_party/Python/module [lldb] Remove use of __future__ in python 2023-08-14 14:14:48 -07:00
tools Fix command escape bug in lldb-dap (#72902) 2023-11-20 15:57:14 -08:00
unittests [lldb] Change interface of StructuredData::Array::GetItemAtIndexAsDictionary (#71961) 2023-11-10 12:47:43 -08:00
utils [llvm][tblgen] Add Source Filename for emitSourceFileHeader (#65744) 2023-09-26 13:40:56 +08:00
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt Reland "[CMake] Bumps minimum version to 3.20.0. 2023-05-27 12:51:21 +02:00
CodeOwners.rst [lldb] Remove more references to lldb-vscode (#69696) 2023-10-20 15:08:37 +01:00
LICENSE.TXT
use_lldb_suite_root.py [lldb] Format more Python files with black (#65979) 2023-09-12 08:46:34 +01:00