On 25 Aug 2008, at 04:37, John Youngquist wrote:
When you enable things like range checking. How do you identify when an exception has occurred and what it means?
Compile the program with -gl (and all of its units with -g or -gl) to see source information next to the addresses. If that does not work (- gl is not supported for all combinations of debug information and target platforms), run the program in a debugger, set a breakpoint on FPC_BREAK_ERROR, run, and perform a backtrace when the breakpoint is hit.
Jonas _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal