Page 1 of 1

PROCEDURE calling graph

Posted: Tue Jul 04, 2017 1:44 pm
by Robert
Does anyone have a tool that produces a graph of which procedures call which within one module?

In some ways this is a more difficult question than producing a multi-module IMPORT tree, as the graph can be a general (recursive) directed graph, and not simply just a tree.

Re: PROCEDURE calling graph

Posted: Sat Jul 08, 2017 4:42 am
by DGDanforth
Robert wrote:Does anyone have a tool that produces a graph of which procedures call which within one module?

In some ways this is a more difficult question than producing a multi-module IMPORT tree, as the graph can be a general (recursive) directed graph, and not simply just a tree.
There is also the issue of conditional calling (IF flag THEN proc END).
How would you want that depicted?

Re: PROCEDURE calling graph

Posted: Sat Jul 08, 2017 1:09 pm
by Robert
DGDanforth wrote:There is also the issue of conditional calling (IF flag THEN proc END).
How would you want that depicted?
As a dependancy. If it was shown as a conditional dependancy that would be added information.

I've solved my problem for which I thought this would be a useful tool, so have no immediate need for it. However I still think such a tool might be generally useful.