VS Code debugger on Windows #251
Labels
C-enhancement
New content that isn't covered already
S-setup
Dev tools / Environment Setup
Z-small
small task that should be quick to do
Howdy!
The CodeLLDB plugin is very very slow on Windows unfortunately. However! The microsoft debugger works pretty well.
In order to use the debugger with dynamic bevy I'm using the following launch configuration:
In my tasks.json I have a build config called "cargo build":
If you change your toolchain then update these paths to match. Because Rust puts the hash into artifact names it was a bit of a mystery why something wasn't loading when starting the debugger. It turned out I was writing 'stable' instead of 'nightly' there.
What cleared that up was to open a visual studio dev shell and use the dumpbin program to see the expected dll names (
dumpbin /DEPENDENTS my_game.exe
) at which point I realized my mistake.The text was updated successfully, but these errors were encountered: