NetSim source codes come along with a solution file (NetSim.sln) using which the codes can be quickly loaded in Visual Studio IDE.
The flow of function calls can be easily traced by right-clicking on the function and selecting:
- Go To Declaration - Will take you to the location where the function is declared (like in .h file)
- Go To Definition - Will take you to the location where the function is defined (if available)
- Find All References - Will give you a list of locations where this function is used (either called, defined, or declared)
You can also perform runtime debugging to understand calls to a function interactively. Printing to console will also be helpful in this case.
Related articles: