How can I step into a function call in the MATLAB debugger?
debugging, matlab
Solution
The MATLAB alternative to gdb's `next` command is `dbstep in`.
Problem
When I'm debugging MATLAB code, if I call `dbstep` when the next statement is a function call, the debugger skips over the function call to the next line of code in the current m file. How can I step into the function call? I'm looking for a function like `next` in gdb. Example Source file: ``` => b = foo(a); c = bar(b); ``` I call `dbstep`: ``` b = foo(a); => c = bar(b); ``` What I want: ``` function out = foo (a) => out = baz(a); ```