Automated function call invocation diagram???

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Peter Olcott

    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.


  • BobF

    #2
    Re: Automated function call invocation diagram???

    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 ...

    Comment

    • Scott McPhillips [MVP]

      #3
      Re: Automated function call invocation diagram???

      "Peter Olcott" <NoSpam@SeeScre en.comwrote in message
      news:Wk4pk.2408 2$1N1.10587@new sfe07.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]

      Comment

      • Peter Olcott

        #4
        Re: Automated function call invocation diagram???


        "Scott McPhillips [MVP]" <org-dot-mvps-at-scottmcpwrote in
        message news:OrPTEin$IH A.3756@TK2MSFTN GP03.phx.gbl...
        "Peter Olcott" <NoSpam@SeeScre en.comwrote in message
        news:Wk4pk.2408 2$1N1.10587@new sfe07.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.


        Comment

        • Peter Olcott

          #5
          Re: Automated function call invocation diagram???


          "BobF" <nothanks@spamf ree.worldwrote in message
          news:ufUVqYn$IH A.1016@TK2MSFTN GP03.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.


          Please join the Graphviz forum to ask questions and discuss Graphviz. What is Graphviz? Graphviz is open source graph visualization software. Graph visualization is a way of representing structural information as diagrams of abstract graphs and networks. It has important applications in networking, bioinformatics, software engineering, database and web design, machine learning, and in visual interfaces for other technical domains.

          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.


          Comment

          • Peter Olcott

            #6
            Re: Automated function call invocation diagram???

            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" <NoSpam@SeeScre en.comwrote in message
            news:09Ypk.2128 0$LF2.17302@new sfe09.iad...
            >
            "BobF" <nothanks@spamf ree.worldwrote in message
            news:ufUVqYn$IH A.1016@TK2MSFTN GP03.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.

            >
            Please join the Graphviz forum to ask questions and discuss Graphviz. What is Graphviz? Graphviz is open source graph visualization software. Graph visualization is a way of representing structural information as diagrams of abstract graphs and networks. It has important applications in networking, bioinformatics, software engineering, database and web design, machine learning, and in visual interfaces for other technical domains.

            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.
            >

            Comment

            Working...