Skip to content

Instantly share code, notes, and snippets.

@berarma
Created February 23, 2025 10:12
Show Gist options
  • Save berarma/f7a247dcdc385bbda5cb82be9fabaf56 to your computer and use it in GitHub Desktop.
Save berarma/f7a247dcdc385bbda5cb82be9fabaf56 to your computer and use it in GitHub Desktop.
Debug Godot over Wine on Debian
Install packages `wine, `gdb-mingw-w64-target` and `gdb-mingw-w64`.
Start gdb server:
`wine /usr/share/win64/gdbserver.exe localhost:1111 ~/godot/bin/godot.windows.editor.x86_64.exe --headless test_scene.tscn`
Start gdb:
`x86_64-w64-mingw32-gdb ~/godot/bin/godot.windows.editor.x86_64.exe`
Connect gdb to gdb server:
`target remote localhost:1111`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment