da-viper wrote:

> The "frame var" expression would be more similar to script 
> lldb.frame.FindVariable("ptr1").Dereference().GetChildAtIndex(0)

This works in this case. 

```sh
>>> lldb.frame.FindVariable("ptr1").Dereference().GetChildAtIndex(0)
(std::pair<const std::basic_string<char>, std::basic_string<char> >) [0] = 
(first = "Hello", second = "World")
```

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