I remember that some time ago, using DDD to debug a rust program showed all the data structure in detail (I have also some screenshots).
Now I'm trying to debug a program with DDD but when i display a data structure it is displayed like a single line even if it is composed of multiple fields. I think the line is the output of the fmt::Debug
trait.
How can I have the classic DDD representation?
I don't know about DDD, but in Rust if you change {:?}
formatting string to {:#?}
it will output objects using pretty-printed multiline format.
1 Like