Terminating a debug session
There are a number of ways to end a debug session. Various methods are described below.
Terminate
Whether you are debugging locally or remotely, terminating results in an immediate end to a debug session, and the program that you are debugging does not run to completion.
To terminate a debug session:
- In the Debug view, select the debug target (or one of its threads or stacks) that you want to terminate.
- Do one of the following:
- Select Terminate from the workbench Run menu.
- Right-click and select Terminate from the pop-up menu. Alternatively, you can select Terminate and Remove to terminate the session and remove it from the Debug view.
To terminate all debug sessions, right-click in the Debug view and choose Terminate All from the pop-up menu.
If you have terminated one or more sessions and would like to remove them from the Debug view, right-click in the Debug view and choose Remove All Terminated from the pop-up menu.
Resume (Run)
If you are debugging an application that runs to termination, and which contains no active breakpoints (or, if you are debugging a mixed language application, exception types specified in the Add Java Exception Breakpoint dialog box), choosing to Resume suspended threads will result in an end of the debug session (ie. the program will run to completion and the debug session will terminate).
Related tasks
Using the Debug view
Stepping through a program
Running XSL transformations during a debug session