473,403 Members | 2,323 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

Automated function call invocation diagram???

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.
Aug 15 '08 #1
5 4726
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 ...
Aug 15 '08 #2
"Peter Olcott" <No****@SeeScreen.comwrote in message
news:Wk*******************@newsfe07.iad...
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]

Aug 15 '08 #3

"Scott McPhillips [MVP]" <org-dot-mvps-at-scottmcpwrote in
message news:Or**************@TK2MSFTNGP03.phx.gbl...
"Peter Olcott" <No****@SeeScreen.comwrote in message
news:Wk*******************@newsfe07.iad...
>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.
Aug 15 '08 #4

"BobF" <no******@spamfree.worldwrote in message
news:uf**************@TK2MSFTNGP03.phx.gbl...
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.
Aug 17 '08 #5
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" <No****@SeeScreen.comwrote in message
news:09*******************@newsfe09.iad...
>
"BobF" <no******@spamfree.worldwrote in message
news:uf**************@TK2MSFTNGP03.phx.gbl...
>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.

Aug 17 '08 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Michael | last post by:
Guys, I'm interested in how the compiler implements function calls, can anyone correct my understanding/point me towards some good articles. When a function is called, is the stack pointer...
3
by: shahehe | last post by:
Hi I have a list of strings in a file and I want to call different functions according to each string I parsed from the file. For example, if I read "LOAD" from the file, I should call void...
4
by: deko | last post by:
When I loop through this function, it works fine until it hits End Function - then it jumps to End Select. Very strange... This behavior occurs when Case = 255. Any ideas why this is happening? ...
7
by: Newbie_sw2003 | last post by:
Where should I use them? I am giving you my understandings. Please correct me if I am wrong: MACRO: e.g.:#define ref-name 99 The code is substituted by the MACRO ref-name. So no overhead....
4
by: anonymous | last post by:
Thanks your reply. The article I read is from www.hakin9.org/en/attachments/stackoverflow_en.pdf. And you're right. I don't know it very clearly. And that's why I want to understand it; for it's...
10
by: Nitin | last post by:
Ppl , Want to have ur opinions on having function calls like the one stated below: function funcA ( struct A *st_A , struct B *st_B ) { st_A->a = st_B->a
1
by: cognominal | last post by:
I am using fifrefox 1.5.0.2 and I have modified the javascript shell to deal with e4x. Below is a session. I would have expected <toto/>.nodeKind to be of type "function". Is this right? Is...
3
by: wernerf | last post by:
Hi all. Here's my problem: Consider a package MY_PKG with the following two functions FUNCTION get_number_by_rowid( p_table_name IN VARCHAR2, ...
15
by: asm23 | last post by:
Hi, everyone, I'm studying the <<Thinking in C++>volume Two. In Chapter One, the example code : Auto_ptr.cpp //------------------------------------------------------- #include <memory> #include...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.