[fpc-pascal] debugging faulty pointer

Jonas Maebe jonas.maebe at elis.ugent.be
Wed Nov 17 09:01:56 CET 2010


On 17 Nov 2010, at 07:42, tim launchbury wrote:

> If I use either -gh or -gc but not both then the problem goes away.
>
> I have built fpgui with debug flags and tried single stepping  
> through all
> the code from the start of my program but with no success.
>
> Does anyone have any suggestions on how to proceed with debugging  
> this?

Compile with -gv, and run the program under Valgrind.


Jonas



More information about the fpc-pascal mailing list