================
@@ -1234,16 +1234,24 @@ def request_setFunctionBreakpoints(self, names,
condition=None, hitCondition=Non
return response
def request_dataBreakpointInfo(
- self, variablesReference, name, frameIndex=0, threadId=None
+ self, variablesReference, name, size=None, frameIndex=0, threadId=None
):
stackFrame = self.get_stackFrame(frameIndex=frameIndex,
threadId=threadId)
if stackFrame is None:
return []
- args_dict = {
- "variablesReference": variablesReference,
- "name": name,
- "frameId": stackFrame["id"],
- }
+ args_dict = (
+ {
+ "variablesReference": variablesReference,
+ "name": name,
+ "frameId": stackFrame["id"],
+ }
+ if size is None
----------------
ashgti wrote:
Can we lift this to a statement instead of an inline expression like this?
This is a bit complex for an inline if
https://github.com/llvm/llvm-project/pull/167237
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits