Trace a code flow in Visual Studio

  • Thread starter Thread starter DeveloperProgrammer
  • Start date Start date
D

DeveloperProgrammer

Guest
We have our C++ project codebase developed in VC++ IDE. I can compile and run the same.

The executable covers a lot of use cases and hence many flow executions paths. Is there a way by which during a flow execution the VC++ Studio can tell us which are the methods in the flow are called or trace the flow.

Assume that 3 functions are called out of 10 during a flow execution. Can we get a trace stating the 3 functions entered during execution in order?

I am aware of debugging tools in VC but tracing is different. Say I am working on a flow enhancement on a codebase that is spread across thousands of line - if I can trace the flow I would be 100 times faster during development and analyzing the codebase than to start debugging from main(). Further since there are threads and asynchronous events debugging such a flow will quiet be a challenge.

I am using Visual Studio Professional 2017 Version 15.5.1

Continue reading...
 
Back
Top