Stepping Through Code

Once your execution has stopped on a breakpoint, you can use the buttons in the debug perspective to step through your code.


  • Step Over - images/download/attachments/144835064/studio_77d-version-1-modificationdate-1645039700000-api-v2.png Allows you to execute the currently highlighted code. If the currently highlighted code is executing a method, the debugger does not go into the method, it simply executes it. Execution stops after this line allowing you to inspect the program state in the variables window.

  • Step Into - images/download/attachments/144835064/studio_77c-version-1-modificationdate-1645039718000-api-v2.png Allows you to execute the currently highlighted code. If the currently highlighted code is executing a method, step into will let you examine the method's code by stepping into it as though you had set a breakpoint within that method. The method's code must be within your source tree, in other words, you must have access to method's source, otherwise you'll see a message stating the method's source is not available.

  • Step Out -images/download/attachments/144835064/studio_77e-version-1-modificationdate-1645039732000-api-v2.png Allows you to leave a method you stepped into and return to the calling line.

  • Resume - images/download/attachments/144835064/studio_77a-version-1-modificationdate-1645039744000-api-v2.png Resumes normal program execution.