John Youngquist wrote: > > When you enable things like range checking. How do you identify > when an exception has occurred and what it means? > AFAIK a checking code is generated for every error-possible code. That's why it seems a little slower when you compile programs with checkings enabled. You can try to get the assembler output by specifying -a<lnrt> compiler option. Try program below and check it.
var i: Byte; begin i:=0; repeat Inc(i); until i>255; end. John Youngquist wrote: > > I see messages like "Unhandled exception occurred at $hex address" > then a bunch more $hex address' > > I don't know what to do with these numbers. > I usually use that for low level debugging. That it, to get what kind of instruction happen at that address that cause the exception. -- View this message in context: http://www.nabble.com/Question-on-exceptions-tp19137422p19139221.html Sent from the Free Pascal - General mailing list archive at Nabble.com.
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal