================
@@ -895,6 +906,32 @@ def request_setFunctionBreakpoints(self, names, 
condition=None, hitCondition=Non
         }
         return self.send_recv(command_dict)
 
+    def request_dataBreakpointInfo(self, variablesReference, name):
+        args_dict = {"variablesReference": variablesReference, "name": name}
+        command_dict = {
+            "command": "dataBreakpointInfo",
+            "type": "request",
+            "arguments": args_dict,
+        }
+        return self.send_recv(command_dict)
+
+    def request_setDataBreakpoint(self, dataBreakpoints):
+        """dataBreakpoints is a list of dictionary with following fields:
----------------
ZequanWu wrote:

`dataBreakpoints` is a list of the dataBreakpoint which has following format:
```
{
    dataId: (address in hex)/(size in bytes)
    accessType: read/write/readWrite
    [condition]: string
    [hitCondition]: string
}
```

https://github.com/llvm/llvm-project/pull/81541
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to