This wiki is out of date, use the continuation of this wiki instead

Debug

From FenixWiki

(Difference between revisions)
Jump to: navigation, search

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 ...)
Next diff →

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

Personal tools