> On Aug 1, 2018, at 3:28 PM, Sven Barth via fpc-devel 
> <fpc-devel@lists.freepascal.org> wrote:
> 
> If you'd look at the code you quoted you'd see that this is only inserted 
> *inside* a destructor (the check for potype_destructor; current_procinfo is 
> the currently compiled routine). So, no, your code is not enough. You need to 
> declare a class with a destructor, then the code would be entered. 
> 

Now I see what’s happening! I would have caught this before but I had the class 
in another unit so it was compiled before I ran the debugger and I never got 
inside the destructor.

Thanks guys.

Regards,
        Ryan Joseph

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to