Bad user experience with first time debugging

Currently, if you are using GDB/LLDB and try debugging Rust for the first time, you get a bad experience. This is because GDB/LLDB tutorials instruct users to start with b main, but main has no source, because it is not Rust main.

See the following post on users forum for how it usually goes:

Can we improve this?

2 Likes

I think this is bad enough that we should consider things up to modifying rust-gdb and rust-lldb to override b main to print a warning.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.