[Lldb-commits] [lldb] [lldb-dap] Test Gardening, improving DebugCommunication. (PR #141689)

John Harrison via lldb-commits lldb-commits at lists.llvm.org
Wed May 28 13:54:45 PDT 2025


================
@@ -1008,12 +1084,13 @@ def request_setBreakpoints(self, source: Source, line_array, data=None):
                 breakpoints.append(bp)
             args_dict["breakpoints"] = breakpoints
 
-        command_dict = {
+        command_dict: Request = {
             "command": "setBreakpoints",
             "type": "request",
+            "seq": 0,
----------------
ashgti wrote:

The `send_packet` method will set the seq to the correct value but I need to have this defined or the type checker complains that the 'seq' key is missing.

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


More information about the lldb-commits mailing list