next up previous contents index
Next: Running It Up: Output Previous: Overview of Generated Names

Debugging Support

The generated code is organised in such a way that a symbolic debugger will be a useful tool for exploring data structures. Furthermore, by default the code is instrumented with assert  statements that check e.g. for references through nil pointers. In the same way as the Unix assert, compiling with -DNDEBUG   effectively deletes the asserts from the code. (There are other macros whose redefinition can influence the behaviour of assert.)

A typical run time error message is `no default action defined'. This occurs when a with- or foreach-with-statement does not cover all cases, as explained in Section 1.5. One of the situations in which this can occur is when such a statement is applied to an argument of the wrong phylum. Running lint should have uncovered this, see Section 3.3.