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

Debug

From FenixWiki

Jump to: navigation, search


[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