I'm trying to debug with LLDB on VSCode. I added a breakpoint into my library, it stops on the breakpoint but I get a call stack with unnamed symbols and I can't see any variables:
This is an example from the library, which I built with cargo build --example my_example_name
. I researched and to build in release mode, --release
should be added. So I think I built in debug mode.
I'd guess the library is being built somehow in release mode. How can I check this?
If someone wants to check which project I'm building: GitHub - lattice0/smoltcp at ip-interface (and the built example is smoltcp/tunhttpclient.rs at ip-interface · lattice0/smoltcp · GitHub)