I'm using VS Code and LLDB plugin for debugging. When I want to analyze the variable contents I often run into the problem that the pretty printers fail, so that I see something like:
foo: size=3, capacity=4
: <error: No value>
> [raw]: std::collection::hash::map::HashMap<u32, alloc::vec::Vec<DirEntry>, std::collection::hash::map::RandomState>
Is this a known problem? Are there any solution, but adding println
statements to the code or write variable contents to files for debugging purpose?