On Thu, 2004-09-16 at 20:22, webman.li wrote: > hi, > It is fine. > I have another question: Is there a tool that can generate call graph from source code of a program,without running the program? The following creates a call graph from C code, C++ not supported. Look them up in google because I cannot remember the details myself. cxref -xref-func -I../include afpprtx.c -Nxref xrefgraph.py -n xref.function > temp.dot dot -Tps temp.dot > $DOTPREF.ps -- Thanks KenF OpenOffice.org developer