4.3.1 How to Interrupt Execution?
It may happens that Pharo seems to freeze. A typical example is when the system goes into a infinitive loop. In such and similar cases, you may want to stop the current execution. There is a combination of keys for such interruption:
Operating system | Keys |
---|---|
Mac | Cmd-. |
Linux | Alt-. |
Windows | Alt-. |
By pressing this key it will interrupt execution in the UI process, and will bring up a Debugger at the current point of execution.
If the interrupt key doesn't work, then the VM may have frozen (rare), or possibly a higher-level Pharo process is running and won't let you interrupt it. If you can repeat the problem, sometimes opening a Process Browser and turning on the CPUWatcher (right click, "start CPUWatcher" ) may help to track things down.