As you may know, in GDB with step(s)
command you can step into a function. But s
examine and step into the function's parameters at first. For example for the following function:
foo(bar(1));
stepping into foo
, steps into bar
and then into foo
. Stepping into the parameters become annoying as soon as the parameters count become more and more. Is it possible to directly step into foo
execution and skip stepping into its parameters using GDB?
I know I can set a breakpoint for foo
:) I'm searching for other solutions.