Performing step operations and inspecting variables

You can now perform different step operations (step over, step in, and step out) using the toolbar icons at the top, or using keyboard shortcuts. Open the drop-down on the Run menu to learn about the menu and toolbar shortcuts for debugging. Typically, you would inspect variables or perform step operations to verify whether the execution flow is correct and then continue the execution by clicking the Resume button or by using the menu/keyboard shortcut.

In the Debug tab (refer to Figure 6.8), you can see all the threads and inspect the stack frames of each thread when the debugger is suspended. Stack frames of a thread show you the path of a program execution in that thread until the point ...

Get Java EE 8 Development with Eclipse now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.