If often encounter following situation:
int HelperFunction(int somevalue)
{
...
}
void FunctionToDebug(int somearg)
{
...
}
...
SomeFunction();
>> FunctionToDebug(HelperFunction(somevalue))
...
Now I'm stepping through my code and I arrive at the function call marked with >>
in the code snippet above.
When I use the "step into" command, the debugger will first step into HelperFunction
and then into FunctionToDebug
which is expected but which can be annoying e.g. if HelperFunction
is fully debugged.
Is there some functionality or trick that would allow me to step directly into FunctionToDebug
without stepping into the functions called during the evaluation of the arguments (HelperFunction
here)?
EDIT
Its not really a duplicate of this:
Is there a way to automatically avoiding stepping into certain functions in Visual Studio?
as I'd like to decide on the spot if I want to step into the arguments or not, but it's interesting anyway though.