jimingham wrote:

Whether to prefer synthetic values for a ValueObject is controlled by the 
general setting `target.enable-synthetic-value` which is true by default.  You 
can also control this on a particular ValueObject with 
`ValueObject.SetPreferSyntheticValue` which should start out primed by the 
value of the target setting.
If those are both true then `ValueObject::GetChildAtIndex` should fetch the 
synthetic child at that index.  `GetNonSyntheticValue().GetChildAtIndex` should 
force the "real" children, and `GetSyntheticValue().GetChildAtIndex` should 
force the synthetic children.

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

Reply via email to