Step into a Function

You can step into a function from a source view or a disassembly view of a process you are debugging as follows:

  1. Choose whether you want to step into any called function, or only into a function for which debugging information is available (a function whose source code can be viewed).
  2. If the current execution point is not the call to the function, you can use the Step over command to step over all statements up to but excluding the function call. Or you can set a statement breakpoint on the function call, and use the Run command.
  3. Issue a Step Into command (if you want to step into any function) or a Debug Step Into command (if you only want to step into a function that you can debug at the source statement level).

If the source view becomes blank when you step into a function, source information is not available for the called function. If you want to view the disassembly code for the called function, change the Source view to a Disassembly view. Otherwise, you can use a Step Return command to return to the calling function, or a Debug Step Into command to continue executing up to the next statement for which debug information is available.

If you accidentally step into the wrong function, or find you no longer want to debug the called function, you can quickly return to the calling function by using the Step Return command.



Step Into Command
Debug Step Into Command
Step Return Command


Run to a Specific Statement or Instruction