[Lula] recommendations on code tracing tools
Charles Wyble
charles at thewybles.com
Mon May 1 14:11:32 EDT 2006
Check out dia. It produces a graphical representation of the code.
UML diagrams. Not sure if that is what you want. Well its not dia per
se. Its a plugin that produces XML output that dia can read.
al at danial.org wrote:
> I've got a huge package of source code I'm trying to understand.
> Say the source code to Perl.
>
> What I want to be able to do is see the name of each function
> as execution enters and leaves that function, in other words,
> the dynamic call graph of the functions in that package. The
> output might look like
> entering main
> entering init
> entering populate_X
> leaving populate_X
> entering populate_Y
> entering set_y1
> leaving set_y1
> leaving populate_Y
> leaving init
> :
> leaving main
>
> I know I can use gdb to step through the code but that would
> take forever, especially for all the different inputs I plan to
> give the executable. Can gdb be scripted to print function
> entries/exits automatically?
>
> Also I'm familiar with etrace (http://ndevilla.free.fr/etrace/) which
> would be great if it actually worked--but it doesn't (frequently
> hangs on executables produced by GCC v4).
>
> Can anyone recommend a function tracing tool? Ideally the tool
> would be capable of working with externally called libraries
> too. -- Al
> _______________________________________________
> Lula mailing list
> Lula at lula.org
> http://www.lula.org/mailman/listinfo/lula
>
_______________________________________________
Lula mailing list
Lula at lula.org
http://www.lula.org/mailman/listinfo/lula
More information about the Lula
mailing list