Re: Using VS2005/C++, how to create a function call (directed) graph or cross ref. table



As I wrote, I overcame all those administrative issues and setup all those
relevant entries in the configuration file manually. The key problem is that it
DOES NOT PRODUCE the function call & called graphs.
What are the default names of those files so I know what to look for?

And the key question is what are the 3 top probable causes to not
create those two graph files?

David

"Ben Voigt [C++ MVP]" <rbv@xxxxxxxxxxxxx> wrote in message
news:10814EB5-8091-4FD9-9BA1-A491705BE052@xxxxxxxxxxxxxxxx

"David F" <David-White@xxxxxxxxxxxxx> wrote in message
news:qMwfi.401$Od7.241@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
What I meant by index.html file being empty is that the 'Main Page' tab is
empty.
The 'Files' tab does list all my 11 .CPP & 13 .H files and the 'Classes'
tab seems
to list all classes.

Is it possible that Doxygen has a problem with finding \ connecting with
GraphViz?

I don't use the wizard myself, just edit the configuration file. And there
should be a setting in the configuration file for the path to the graphviz
executable.

I do know that neither doxygen nor graphviz requires administrative rights
to install or run... but I'm not surprised they don't show up on the start
menu, they are command-line applications.


David

"Ben Voigt [C++ MVP]" <rbv@xxxxxxxxxxxxx> wrote in message
news:297BB7E9-80E1-4AF9-8F3A-4EEA69D1E71F@xxxxxxxxxxxxxxxx

"David F" <David-White@xxxxxxxxxxxxx> wrote in message
news:E6Gei.6620$tb6.2599@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I have no clue about the use of Doxygen except knowing that it is a
system
to manage (and generate?) documentation.
Would you please be more specific as to what / where should I look for
there?


Not so much to manage documentation, as to analyze your program structure
and generate documentation, including comments placed in the code to give
you a high level of control over the result.

Look at the CALL_GRAPH and CALLER_GRAPH options, or \callgraph and
\callergraph comments.

http://www.stack.nl/~dimitri/doxygen/config.html#cfg_call_graph
http://www.stack.nl/~dimitri/doxygen/commands.html#cmdcallgraph



Thanks,
David

"Ben Voigt [C++ MVP]" <rbv@xxxxxxxxxxxxx> wrote in message
news:B9738B7E-086A-4E87-948A-E956DE4D29AB@xxxxxxxxxxxxxxxx

"David F" <David-White@xxxxxxxxxxxxx> wrote in message
news:k8Zdi.2103$W_6.545@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
This is good for checking few single functions here and there. Isn't
it?
If so,
it is not practical for producing a total function calls graph (or
cross
ref. table) for
ALL functions in a larger program at once which is what I meant.
I should have emphasize it in the first place.

Doxygen can generate a multi-level call graph... it is designed for
ANSI
C++, but I helped the author add some support for C++/CLI.


David

"Alex Blekhman" <xfkt@xxxxxxxxx> wrote in message
news:%23vpzLylsHHA.4324@xxxxxxxxxxxxxxxxxxxxxxx
David F wrote:
It would be nice if the scope is adjustable to a single file or
an
entire project and
and filtering should allow to include/exclude class objects'
methods,
etc.

Am I missing something understanding that such a fundamental
service
is
not available in VS2005+SP1?

You can use call browser, which is part of VS2005 IDE. Just
right click on any function and select "Call Browser" item
in context menu.

Alex











.



Relevant Pages