Debugging xtask #602
-
I've been making some changes to different parts of the repository, including xtask, and am running into some bugs with the linker script generation. Is there a way for xtask to be debugged in GDB? When I try by running |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
xtask expects to be run via |
Beta Was this translation helpful? Give feedback.
xtask expects to be run via
cargo run
which sets a few environment variables. One possible way to run xtask under gdb would be to follow the instructions at https://stackoverflow.com/questions/52685869/is-there-a-way-to-directly-run-the-program-built-by-cargo-in-gdb-or-lldb.