[Lldb-commits] [lldb] [lldb-dap] Adding exception handling for dap server disconnect and terminations in lldbdap_testcase.py (PR #155335)

Walter Erquinigo via lldb-commits lldb-commits at lists.llvm.org
Sun Aug 31 16:51:56 PDT 2025


================
@@ -450,6 +450,20 @@ def disassemble(self, threadId=None, frameIndex=None):
 
         return disassembled_instructions, disassembled_instructions[memoryReference]
 
+    def dapCleanup(self, disconnectAutomatically):
+        if disconnectAutomatically:
+            try:
----------------
walter-erquinigo wrote:

that's a good idea

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


More information about the lldb-commits mailing list