Debugging with GDB: M2 Checks |
---|
Next: M2 Scope, Previous: Deviations, Up: Modula-2 [Contents][Index]
Warning: in this release, GDB does not yet perform type or range checking.
GDB considers two Modula-2 variables type equivalent if:
TYPE
t1 = t2
statement
As long as type checking is enabled, any attempt to combine variables whose types are not equivalent is an error.
Range checking is done on all mathematical operations, assignment, array index bounds, and all built-in functions and procedures.