[Lldb-commits] [lldb] [lldb-dap] Adding exception handling for dap server disconnect and terminations in lldbdap_testcase.py (PR #155335)
Piyush Jaiswal via lldb-commits
lldb-commits at lists.llvm.org
Thu Aug 28 13:14:28 PDT 2025
================
@@ -466,8 +466,15 @@ def attach(
# if we throw an exception during the test case.
def cleanup():
if disconnectAutomatically:
- self.dap_server.request_disconnect(terminateDebuggee=True)
- self.dap_server.terminate()
+ try:
----------------
piyushjaiswal98 wrote:
On investigation...addTearDownHook appears to follow a LIFO order...This approach doesn't seem to work
https://github.com/llvm/llvm-project/pull/155335
More information about the lldb-commits
mailing list