Skip to content

Commit 5c19723

Browse files
authored
[lldb-dap] Fix broken tests with commanEscapePrefix="" (#137384)
* Fix broken tests that use commanEscapePrefix="", in my case `TestDAP_stackTraceMissingModule.test_missingModule`
1 parent fecf074 commit 5c19723

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@ def request_launch(
860860
args_dict["enableAutoVariableSummaries"] = enableAutoVariableSummaries
861861
args_dict["enableSyntheticChildDebugging"] = enableSyntheticChildDebugging
862862
args_dict["displayExtendedBacktrace"] = displayExtendedBacktrace
863-
if commandEscapePrefix:
863+
if commandEscapePrefix is not None:
864864
args_dict["commandEscapePrefix"] = commandEscapePrefix
865865
command_dict = {"command": "launch", "type": "request", "arguments": args_dict}
866866
response = self.send_recv(command_dict)

0 commit comments

Comments
 (0)