-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cargo debug command #1726
Comments
Unfortunately this would require there to be a cross-platform canonical solution to debugging Rust code, which currently doesn't exist. It could do "best-effort" things like running lldb on OSX and gdb on linux, but I'm not sure what the story on Windows would be. This sounds a lot like a custom subcommand rather than an official one currently. |
On Windows, I believe |
Today I needed to trace a rust program with So maybe instead of adding a new subcommand, it would be better to add some kind of a "run-with-command" flag to |
Or maybe third-party |
As there hasn't been any activity here in a while would someone (the author, a team member, or any interested party) be able to summarise the current state, perhaps making explicit:
Thank you! (The cargo team is currently evaluating the use of Stale bot, and using #6035 as the tracking issue to gather feedback.) If you're reading this comment from the distant future, fear not if this was closed automatically. If you believe it's still an issue please leave a comment and a team member can reopen this issue. Opening a new issue is also acceptable! |
As I didn't see any updates in 30 days I'm going to close this. Please see the previous comment for more information! |
It would be really nice if there were a command such as
cargo gdb
orcargo debug
or similar that would do whatcargo run
does except run the program in a debugger. Having to do it manually is a bit cumbersome...The text was updated successfully, but these errors were encountered: