[fpc-pascal] Calling unassigned procedure gives no stack trace with -gl

Marcel Martin mm10 at ellipsa.net
Thu Jul 14 01:12:23 CEST 2005


Tom Verhoeff a écrit :
> begin
>   VMyClass := TMyClass.Create;
>   //VMyClass.FP := VMyClass.P;  { with this assignment, it works }
>   VMyClass.FP;  { this causes an Access Violation }

Of course, at this point FP = nil since you didn't set it.

mm




More information about the fpc-pascal mailing list