<div dir="ltr"><div>I'm sorry in advance, if it's not a correct mailing list, there doesn't seem to be lldb-usage mailing list.</div><div><br></div><div>I'm writing a pretty-printer python script, which - to cut to the chase, pretty prints members of a class by using EvaluateExpression and creating new object inside it. It doesn't seem to work - i'm getting "<could not resolve type>" error. Should my idea work in a first place and i't s a bug or it shouldn't and i need to find a different solution?</div><div><br></div><div>I'm attaching a repro case:<br></div><div><br></div><div>clang++ q.cpp -g -o o -std=c++20</div><div>lldb o</div><div>command script import lldb_script.py</div><div>br set --file q.cpp --line 19</div><div>r</div><div>print c</div><div><br></div><div><br></div><div>it prints:</div><div>(lldb) print c<br>(C) $0 = CCC {<br>   = <could not resolve type><br>}<br></div><div><br></div><div>it should something akin to:</div><div><div>(lldb) print c<br>(C) $0 = CCC {<br>  b   = B {</div><div>    a = A {</div><div>      id = "qwerty"<br></div><div>    }<br></div><div>  }<br></div><div>}<br></div><div><br></div><div><br><br></div></div></div>