- This wiki is out of date, use the continuation of this wiki instead
Debugging
From FenixWiki
(Difference between revisions)
Revision as of 11:35, 15 December 2007 (edit) Sandman (Talk | contribs) m ← Previous diff |
Revision as of 14:57, 15 December 2007 (edit) (undo) 85.144.194.29 (Talk) (→Debug mode - I take it you meant .prg there.) Next diff → |
||
Line 4: | Line 4: | ||
== Debug mode == | == Debug mode == | ||
- | To run a game in debug mode, you have to compile the . | + | To run a game in debug mode, you have to compile the .prg with the -g option (e.g. <code>fxc.exe -g name.prg</code>). Then when you run the game, it is in debug mode. In this there's a number of shortcuts, with a variety in usefulness. |
=== Shortcuts === | === Shortcuts === |
Revision as of 14:57, 15 December 2007
Debugging a Fenix program can be tricky. So here are a few tips to get you on your way.
Debug mode
To run a game in debug mode, you have to compile the .prg with the -g option (e.g. fxc.exe -g name.prg
). Then when you run the game, it is in debug mode. In this there's a number of shortcuts, with a variety in usefulness.
Shortcuts
ALT-C | - Show/hide the Fenix Console. |
ALT-F | - Go into fullscreen mode. |
ALT-G | - Make a screenshot and save it as shotXXXX where XXXX is the lowest possible number.
|
ALT-P | - Show/hide the Fenix Profiler |
ALT-R | - Resets the profile history of the Fenix Profiler. |
ALT-S | - Activate/Deactivate the Fenix Profiler. |
ALT-W | - Go into window mode. |
ALT-X | - Exit. |
ALT-Z | - Switch the MODE_16BITS flag of graph_mode on/off. |