Break mode halts the operation of an application and gives you a snapshot of its condition. Variable settings are preserved, so you can analyze the current state of the application and enter changes that affect how the application runs. When an application is in break mode, you can:
To enter break mode at run time
It's possible to break execution when the application is idle (when it is between processing of events). When this happens, execution stops when the next line of code is run.
-or-
When the program encounters a breakpoint at run time, it will enter break mode before executing the line of code where the breakpoint was set.
-or-
To enter break mode at design time
Break mode will be entered at the first line of code in your application.
-or-
The application will enter break mode when it reaches the current line of code in the Text Editor window.
The exact behavior of break mode may differ slightly for different language engines or certain types of applications. For more information, see the debugging topics for your programming language.