in reply to Re: Hunting for a memory leak
in thread Hunting for a memory leak
That is quite the bit of entirely-gratuitous “sleuthing” that you have done in order to solve this problem,
Arg! Actually, it wasn't that much; and it wasn't gratuitous. About 15 minutes effort total spread over the periods of inane pundit chatter between the events at the velodrome.
And the reason it was so simple is that the OP did all the right things:
That, combined with the clear, simply-structured code, made it easy to comment out one or two lines here or there to isolate where in the code the problem lay. And that is the essence of debugging -- finding the bug. After that it is just reasoning.
It is also where all the "let's hide the complexity behind yet another layer of abstraction" crowd fall flat on their faces. Their attempts to make things look simple, is their undoing when it comes to trying to track through that hidden complexity. Looks simple is not the same as is simple. And every layer of abstraction adds complexity, and removes none.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Hunting for a memory leak
by perldough (Sexton) on Aug 08, 2012 at 14:36 UTC |