Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > Automated function call invocation diagram???

Reply
Thread Tools

Automated function call invocation diagram???

 
 
Peter Olcott
Guest
Posts: n/a
 
      08-15-2008
Does anyone know of any good software that automatically
produces a function call invocation diagram for C/C++
programs?
I think that this would be very useful for determining the
possible side-effects of making changes to a function.


 
Reply With Quote
 
 
 
 
BobF
Guest
Posts: n/a
 
      08-15-2008
Peter Olcott wrote:
> Does anyone know of any good software that automatically
> produces a function call invocation diagram for C/C++
> programs?
> I think that this would be very useful for determining the
> possible side-effects of making changes to a function.
>
>


doxygen might do it ...
 
Reply With Quote
 
 
 
 
Scott McPhillips [MVP]
Guest
Posts: n/a
 
      08-15-2008
"Peter Olcott" <> wrote in message
news:Wk4pk.24082$...
> Does anyone know of any good software that automatically produces a
> function call invocation diagram for C/C++ programs?
> I think that this would be very useful for determining the possible
> side-effects of making changes to a function.



Try Visual Studio. Right click on the function name and pick "Call Browser"

--
Scott McPhillips [VC++ MVP]

 
Reply With Quote
 
Peter Olcott
Guest
Posts: n/a
 
      08-15-2008

"Scott McPhillips [MVP]" <org-dot-mvps-at-scottmcp> wrote in
message news:OrPTEin$...
> "Peter Olcott" <> wrote in message
> news:Wk4pk.24082$...
>> Does anyone know of any good software that automatically
>> produces a function call invocation diagram for C/C++
>> programs?
>> I think that this would be very useful for determining
>> the possible side-effects of making changes to a
>> function.

>
>
> Try Visual Studio. Right click on the function name and
> pick "Call Browser"
>
> --
> Scott McPhillips [VC++ MVP]


I will try that tomorrow when I get to work, apparently 6.0
does not have this feature. What I would like to see in a
single place is the entire function call chain for a single
function, I would like to see (for example) is exactly which
GUI or actions ended up invoking this function.


 
Reply With Quote
 
Peter Olcott
Guest
Posts: n/a
 
      08-17-2008

"BobF" <> wrote in message
news:ufUVqYn$...
> Peter Olcott wrote:
>> Does anyone know of any good software that automatically
>> produces a function call invocation diagram for C/C++
>> programs?
>> I think that this would be very useful for determining
>> the possible side-effects of making changes to a
>> function.

>
> doxygen might do it ...


Doxygen does do it, and it does a superb job. Here are the
details:

This is the current main page.
http://www.stack.nl/~dimitri/doxygen/

www.graphviz.org
This package must be installed first.

Use the Wizard to generate the Doxyfile and specify "Call
Graph" on the Diagrams tab. To generate the Caller Graph you
click on the [Expert] button, and Scroll over to the [Dot]
tab, and select the CALLER_GRAPH CheckBox.

This system generates some very excellent Call and Caller
Graphs in HTML, The graphs are created as graphics image
files,
and include image based links to the details of every node
on the graph.


 
Reply With Quote
 
Peter Olcott
Guest
Posts: n/a
 
      08-17-2008
The main reason that I wanted to see the Caller Graphs was
to derive a much more effective process for analytically
detecting possible side-effects of changes to functions. The
idea here is to trace the function invocation all the way
back up to its original GUI invocation. From this analysis
it can be clearly determined which user actions would be
ultimately effected by changes to a specific function. This
result also points to the exact place where regression tests
could be inserted.

"Peter Olcott" <> wrote in message
news:09Ypk.21280$...
>
> "BobF" <> wrote in message
> news:ufUVqYn$...
>> Peter Olcott wrote:
>>> Does anyone know of any good software that automatically
>>> produces a function call invocation diagram for C/C++
>>> programs?
>>> I think that this would be very useful for determining
>>> the possible side-effects of making changes to a
>>> function.

>>
>> doxygen might do it ...

>
> Doxygen does do it, and it does a superb job. Here are the
> details:
>
> This is the current main page.
> http://www.stack.nl/~dimitri/doxygen/
>
> www.graphviz.org
> This package must be installed first.
>
> Use the Wizard to generate the Doxyfile and specify "Call
> Graph" on the Diagrams tab. To generate the Caller Graph
> you click on the [Expert] button, and Scroll over to the
> [Dot] tab, and select the CALLER_GRAPH CheckBox.
>
> This system generates some very excellent Call and Caller
> Graphs in HTML, The graphs are created as graphics image
> files,
> and include image based links to the details of every node
> on the graph.
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
access to the namespace of a function from within its invocation Poor Yorick Python 2 07-13-2007 03:03 PM
function invocation in response to a property assignment kristoph@gmail.com Javascript 1 02-17-2007 12:49 PM
program having printf() function invocation without including <stdio.h> sam_cit@yahoo.co.in C Programming 18 01-17-2007 01:05 AM
Function invocation location 1.41421@gmail.com C Programming 15 12-23-2005 04:00 PM
write a function such that when ever i call this function in some other function .it should give me tha data type and value of calling function parameter komal C++ 6 01-25-2005 11:13 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57