Halting a program stops the execution of the program without terminating the execution of the program. It allows you to pause and examine the program's internal state and then continue execution without restarting the program.
To halt execution of a program that is currently running in the debugger, do one of the following:
You may find that execution halts in a function other than the one you are debugging (for example, a system library routine). To run to the end of that routine and stop in your own code, do one of the following:
Important:
The debugger cannot halt an applet or application that has all of its threads blocked.
Running a program
Stepping through a program
Setting a line breakpoint