- This wiki is out of date, use the continuation of this wiki instead
Debug
From FenixWiki
(Difference between revisions)
Revision as of 11:03, 24 April 2008 (edit) Sandman (Talk | contribs) (New page: Category:reserved Category:language Category:Basic statement == Definition == '''Debug'''; Debug is a reserved word used to invoke the Fenix console. When this statement ...) ← Previous diff |
Current revision (11:03, 24 April 2008) (edit) (undo) Sandman (Talk | contribs) (New page: Category:reserved Category:language Category:Basic statement == Definition == '''Debug'''; Debug is a reserved word used to invoke the Fenix console. When this statement ...) |
Current revision
[edit] Definition
Debug;
Debug is a reserved word used to invoke the Fenix console. When this statement is reached, the console is immediately invoked and one can begin tracing from the debug statement.
Here's a handy page about debugging a Fenix program.
[edit] Example
Function int debug_warning(string warning) Begin say("Warning: " + warning); debug; return 0; End
Used in example: say(), debug