[Lazarus] i'm looking for tips on debugging deep nested code with recursive functions

Everton Vieira tonvieira at gmail.com
Wed Feb 15 12:59:57 CET 2012


Em 15/02/2012, às 09:49, ik escreveu:

> Hello,
> 
> I have a code with a lot of loops and recursive calls.
> Somewhere at the code, at some point, I think I have an Off By One or
> something similar that happens that break my code.
> The question is, how would you suggest to compile such complicated
> calls to figure out where the problem/s exists ?

For debug that, would be nice to make some log of the behavior of the app, that i`ve been thinking this days, but in which doesn't get nothing at far as usable. Well you can make a lot of debugln to monitor the behavior of it to try to see where is the problem. But i`m freak sure is hard work.

> 
> I'm using Lazarus 0.9.31 r35319M FPC 2.5.1 x86_64-linux-gtk 2 if that's helps
> 
> Thanks,
> Ido
> 
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus





More information about the Lazarus mailing list