[Ohrrpgce] SVN: teeemcee/8471 Add "Test Game with GDB" option

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Tue Feb 28 07:15:11 PST 2017


teeemcee
2017-02-28 07:15:10 -0800 (Tue, 28 Feb 2017)
759
Add "Test Game with GDB" option

Access either from spam menu, or hold down Shift when selecting Test Game
(holding Shift works both in the main menu and F9 menu).

Works on Linux and Windows, but probably not on OSX, because it requires
xterm. Maybe if you were to install X11 on OSX.

Note the following quirks:
-gdb will break as soon as the channel to Custom has been opened
 (while processing commandline options), which is before setmodex,
 so you need to 'c'ontinue to see the window
-on Unix, Ctrl-C in Custom's terminal will immediately kill Game as
 well because it's sent to the whole process group, instead of
 gdb intercepting it, which is quite annoying
-on Windows, Ctrl-C does nothing (whether using this feature or just
 running gdb normally)
---
U   wip/custom.bas
U   wip/customsubs.bi
U   wip/customsubs.rbas
U   wip/game.bas
U   wip/yetmore2.bas


More information about the Ohrrpgce mailing list