[Lazarus] Help debugging

Antonio Fortuny a.fortuny at sitasoftware.lu
Wed Jan 11 16:40:32 CET 2012



Le 11/01/2012 16:31, Kjow a écrit :
> 2012/1/11 Antonio Fortuny<a.fortuny at sitasoftware.lu>:
>> instead of
>>   body.free;
>> do
>>   FreeAndNil(body)
>>
>> !! without this, the pointer to the object still contains the original
>> pointer value.>:o
>> Do the same for other creations.
>> Common issue when reusing object pointers
> Thank you!
>
> Well, now after the third time i get this error:
> <<The debugger experienced an unknow condition. [...] Exception:
> EListError.with message "Duplicate ID: FFFFFFFFFFFFFF61" Abort /
> Ignore>>
Because gdb does not help in this case neither you could maybe setup 
some kind of output debug lines so we can focus on the line(s) which 
apper to disturb the debugger.
>
> Ummm...
>
> Kjow
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>






More information about the Lazarus mailing list