Frequently, I come across large bodies of code and have to trace through the code to find out how each module is related and what the data flow is through the methods, etc.
To increase my debug efficiency, when I'm first assigned a project(body of code) as the maintainer, I run through every module, file, class, etc. and I plot them in a Visio diagram.
This is a tedious process in the beginning, but once I have the diagram complete, it becomes very easy to trace what is supposed to happen to the data to identify where the bugs might be.
Now I have been assigned a much larger body of code. Tedious is an understatement of the task of creating the diagram.
What I would like would be a tool that you can point it to a parent folder/directory and it could search through the file/folder structures and auto generate the diagram. (If it is able to pull out classes and methods that would be great, but for now, I would be happy with the include/dependency hierarchy.)
Alternatively, if I could point the program to a specific source file, and have it generate an inheritance/dependency tree from that source file that would be great.
I have found that Visual Studio 2019 Enterprise has something called Code Map. However, I do not have the Enterprise version. Is there a cheaper alternative for doing dependency graphs?