Created
February 23, 2025 10:12
-
-
Save berarma/f7a247dcdc385bbda5cb82be9fabaf56 to your computer and use it in GitHub Desktop.
Debug Godot over Wine on Debian
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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