Skip to content

Attaching winedbg to the running game kills it ​

Symptoms ​

winedbg --pid PID attaches, and the game dies.

Tried ​

  • Attaching to the running game under Wine 11.18 on macOS: the game died, twice (observed).
  • winedbg breakpoints did work earlier in the same project: they measured POD's mode-table value. How that session was started is not recorded.
  • Wine's trace channels (+seh, +ddraw, +file, +relay) in place of a debugger: these worked every time. Use them instead (Wine on macOS).
  • A 64-bit game (Banished) under CrossOver 26.3: winedbg --gdb --no-start 0xPID attached, and the game ran on after each detach. Breakpoints need care there (winedbg's GDB server).

Code: Apache 2.0. Content: CC0 1.0. No game material: bring your own copy.