[Lldb-commits] [lldb] [lldb-dap] Let tests run under both stdio and server adapter modes (PR #227435)

via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 29 11:54:19 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Ebuka Ezike (da-viper)

<details>
<summary>Changes</summary>

Add create_debug_adapter(), which picks stdio or server mode based on self.run_as_server. This allows tests to run under both modes when toggling `LLDBDAP_RUN_AS_SERVER`, rather than being pinned to stdio.

---
Full diff: https://github.com/llvm/llvm-project/pull/227435.diff


5 Files Affected:

- (modified) lldb/packages/Python/lldbsuite/test/tools/lldb_dap/testcase.py (+20-24) 
- (modified) lldb/test/API/tools/lldb-dap/breakpoint-assembly/TestDAP_breakpointAssembly.py (+1-1) 
- (modified) lldb/test/API/tools/lldb-dap/launch/TestDAP_launch_no_lldbinit_flag.py (+1-1) 
- (modified) lldb/test/API/tools/lldb-dap/launch/TestDAP_launch_termination.py (+2-3) 
- (modified) lldb/test/API/tools/lldb-dap/save-core/TestDAP_save_core.py (+1-1) 


``````````diff
The server is unavailable at this time. Please wait a few minutes before you try again.
``````````

</details>


https://github.com/llvm/llvm-project/pull/227435


More information about the lldb-commits mailing list