Skip to content

Debugging xtask #602

Answered by mx-shift
FawazTirmizi asked this question in Q&A
Jun 14, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@FawazTirmizi
Comment options

Answer selected by FawazTirmizi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants