I'm very interested. How to download the ZIP?
Me too would like to have the zip
https://github.com/elahn/gdb-win64/releases/download/7.12/gdb-7.12-x86_64-w64-mingw32.rar
You only need to extract bin/gdb.exe and put it's location in PATH.
I didn't bundle python with it, so if you want pretty printers, you'll need to install python. I'm not using the pretty printers, as the freezing was doing my head in.
I'm planning a blog post about how to build it, for those who like building everything from source themselves.
Hey great work! I would be interested in your blog post. Thanks
Me too, Interested in your blog post. Thanks.
Do you use install & working blog post of @sherry-ummen https://sherryummen.in/2016/09/02/debugging-rust-on-windows-using-visual-studio-code/55 ?
Yes
When I step into std code, I get the error:
Source C:\bot\slave\nightly-dist-rustc-win-gnu-64\build\obj\../src/libcollections/vec.rs is not available.
Does anyone know how to fix this? I'm on the verge of building Rust from source.
I've reported this as issue #38257, which includes a workaround. Basically set RUST_SRC_PATH=C:\bot\slave\nightly-dist-rustc-win-gnu-64\build\src and copy/move the source or create a symlink/hardlink.
If you are targeting MSVC you can now debug it in VS Code as well. It will use the Visual Studio debugger behind the scenes.Not sure, but I think the ability to debug with Visual Studio debugger has only recently appeared in VS Code.
FWIW, LLDB seems to work okay too (for the -gnu toolchain).
Can I ask how you did that? Did you install an extension to do it? I'm new to rust and VSCode, (have the VSCode-Rust and RLS stuff installed).
You'll need to install the CPP Extension and set up your debugging configuration. Please let me know if it still doesn't work and I'll double check my setup.
Is that with the CPP extension, it's not necessary to install the Native Debug extension?
Native Debug extension is for debugging MingW targets. So, no, you don't need that.