[lldb-dap] Fix broken tests with commanEscapePrefix="" (#137384)

* Fix broken tests that use commanEscapePrefix="", in my case
`TestDAP_stackTraceMissingModule.test_missingModule`
This commit is contained in:
Ely Ronnen
2025-04-25 22:07:34 +02:00
committed by GitHub
parent fecf0742b1
commit 5c197236ed

View File

@@ -860,7 +860,7 @@ class DebugCommunication(object):
args_dict["enableAutoVariableSummaries"] = enableAutoVariableSummaries
args_dict["enableSyntheticChildDebugging"] = enableSyntheticChildDebugging
args_dict["displayExtendedBacktrace"] = displayExtendedBacktrace
if commandEscapePrefix:
if commandEscapePrefix is not None:
args_dict["commandEscapePrefix"] = commandEscapePrefix
command_dict = {"command": "launch", "type": "request", "arguments": args_dict}
response = self.send_recv(command_dict)