In terminal: $ winedbg --gdb --no-start --port 2345 Test.exe
In VS Code: set breakpoints
Run debug
Note:
I'm using winedbg from wine-staging, cause wine-vanilla's one refuse to launch for me
With a test program built as winelib, and dxup winelib build I can walk through both sources during debug (will probably try to install WINE sources as well)
In case someone interested in.
VS Code example (
dxup/.vscode/launch.json
):$ winedbg --gdb --no-start --port 2345 Test.exe
Note:
winedbg
from wine-staging, cause wine-vanilla's one refuse to launch for me