[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LYNX-DEV Re: Lynx updates

From: Drazen Kacar
Subject: Re: LYNX-DEV Re: Lynx updates
Date: Tue, 12 Nov 1996 08:57:20 +0100 (MET)

Wayne Buttles wrote:

> I have the same problem--maybe worse.  I have limited knowledge and time,
> but high drive to see something work.  I end up either butchering
> something to see it happen quickly, or giving up (ADD at its greatest ;-). 
> Is there any program that could at least give me part of this?  Like what
> is being called where and from where?  It seems like a logical concept,
> but I have pretty big holes in my coding knowledge so I am not sure what
> is possible.  

Try 'man cflow'. If that's not good enough, search the web for cxref.
That's the package with the same functionality, only better :). I think that
it became stable, but I don't have the URL. And you might find 'man ctags'
useful, too.

> > I ran Lynx through Purify and Purify found some memory leaks, but I don't
> > know where to patch the holes. 
> >
> One of my semi-working test cases for Lynx on DOS used LYLeaks.  I
> didn't get a lot of play time with it, but it really looked like it
> could pinpoint memory leaks pretty well.  Am I off the mark on this one?

Purify keeps track of every byte on heap and stack. And elsewhere :)
It also keeps record of all pointers (don't ask me how). It works with
object code, source is not needed, but if you don't compile the source
with -g, you don't get info about statements that produce memory leaks.
That's pretty logical, isn't it? It's really fun when it starts producing
warnings and error messages about functions in shared libraries. :)
Ncurses package was pretty bad until Erik "there's no conspiracy" Raymond
purified it, I think.

The program is sometimes rather slow, but that's because of Motif. Purify is
the best package of this kind I've seen so far, but it's... um... comercial.
You can get trial version that will work for 30 days, though. No limits on
functionality. And then there is Quantify. That's profiler. Another great
thing. No, I don't work for the company which made those tools. I even
forgot their name. Really. :)

Life is a sexually transmitted disease.

; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]