Re: programming tools
On Tuesday 26 April 2005 20:25, Joris Huizer wrote:
> Hello,
>
> I'm wondering, is there a tool (under linux) to find memory leaks?
There are quite a few options for that. apt-cache search "memory leak" :)
> Also, is there a way to find what piece of code is running most of the
> time in a program?
This is called "profiling". apt-cache search profile, or apt-cache search
profiling :)
> Just to try and find some clues about wine's behavior (for the latter,
> so much X activity sometimes) and out of curiosity
You might also look into strace and/or ltrace for this.
I've heard good things about valgrind (which others suggested), but I haven't
tried it personally, since it's not available on PowerPC yet :(
--
Lee.
Reply to: