Next Previous Up Top Contents Index

6.4 Controlling execution

6.4.2 Pausing and resuming execution of applications

Application > Pause (or the toolbar pause button ()) pauses the execution of the application with which the window is associated.

When an application is paused, you can browse and debug its threads or interact with it. Choose Application > Resume (or the toolbar start/resume button ()) to resume execution.

You should normally only use Application > Resume when the application stopped because you paused it or it reached a breakpoint (both of which are out-of-language events, that is, events not described completely in terms of the Dylan language). If the application stopped because of an unhandled condition or a call to break (both in-language events), you should instead use the items on the Thread menu to signal a Dylan restart. See "Restarts" on page 109 for information on the Thread menu.

If you use Application > Resume to continue from an in-language event, your application may signal further errors because you did not use the (in-language) restart mechanism to deal with the existing error.

Any Dylan restarts which were available before you resumed the application should still be available, so you can continue by signalling a restart as before. See "Restarts" on page 109 for more details.


Getting Started with Functional Developer - 31 MAR 2000

Next Previous Up Top Contents Index