[fpc-pascal] Question on exceptions

John Youngquist johny at iaw.com
Mon Aug 25 19:47:27 CEST 2008

I tried the -gl and it works this will be a big help.!!!!

thank you very much


Jonas Maebe wrote:

> 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 at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
> .

More information about the fpc-pascal mailing list