rust-lldb hangs when printing non-trivial type #115632
Labels
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
WG-debugging
Working group: Bad Rust debugging experiences
Someone mentioned that rust-lldb has issues printing nested types. To test this I wrote the following testcase:
I built a debug version of this and ran
rust-lldb
on it:I set a breakpoint on
main
, step untila
is set and print it:If I print
o
:.. lldb seemingly hangs. I have to mash Ctrl+C until it stops.
If I restart
rust-lldb
and instead set a breakpoint inside main I get a different result.(Output of
o
indeed looks broken, but that's a separate issue).Versions
Running on x64.
The text was updated successfully, but these errors were encountered: