Use the Debug view
The Debug view allows you to manage the debugging of a program in the workbench. It displays the stack frame for the suspended thread for each target you are debugging. If the thread is suspended, its stack frames are shown as child elements.
If the resource containing a selected thread is not open and/or active, the file opens in the editor and becomes active, focusing on the source with which the thread is associated.
In the Debug view, you can perform various start, step, and terminate debug actions. For more information about these actions, see the related topics below.
To suspend a thread in the stack frame that is currently running, click the Debug view Suspend button (
) or choose Run > Suspend from the workbench menu bar.