Search code examples
debuggingvisual-studio-2013step-into

How can I step directly into a function without stepping into intermediate functions for parameters?


In Visual Studio 2013 (or any version really) and I am debugging a C++ project, I want to be able to bypass stepping into intermediate functions that are called due to parameters being passed into the function of interest.

How can I bypass stepping into these intermediate functions (not of interest directly) and just go straight to my function of interest?

For example, let's say I have a function that passes in a list of objects and another parameter that is a string. If I set a breakpoint and click the Step Into button or F8 then it is actually first steps into the functions necessary to get the list of objects ready as well as the string object. I don't care about these intermediate functions for the setup and I just want to go directly to my function of interest. Is there a setting to be able to do this?


Solution

  • Right Click -> Step Into Specific -> pick the function you want to step into.