This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Documentation / Mathematica / Front End / Menu Commands / Kernel Menu /

Interrupt Evaluation...

FilledSmallSquare Interrupt Evaluation interrupts the current operation being performed by the kernel.

FilledSmallSquare This dialog box appears when you choose Interrupt Evaluation from the Kernel menu during an evaluation. You can use this dialog box to abort an evaluation or to examine its progress. If you click Continue Evaluation, your evaluation completes normally.

FilledSmallSquare Keyboard shortcuts: AltKeyLeftModified , ] (Windows); CommandKeyLeftModified , ] (Macintosh); AltKeyLeftModified , RightModified(X).

Continue Evaluation

Closes the dialog box and lets your calculation proceed normally.

Abort Command Being Evaluated

Aborts the calculation. (This button is equivalent to the Abort Evaluation command in the Kernel menu.) If you click Abort, your calculation is stopped. The result entered in the notebook is a symbol, $Aborted, representing an interrupted calculation.

Enter Subsession

Initiates a Mathematica dialog within the interrupted calculation. (This button is equivalent to the Enter Subsession command in the Evaluation submenu.)

See Reference Guide: Dialog.

See The Mathematica Book: Section 2.14.2.

FilledSmallSquare Some calculations may not be immediately interruptible, in which case you do not get the dialog box until the calculation is able to stop. Sometimes when using a remote kernel you may not be able to interrupt short calculations at all, because they are finished before the interrupt request can be transmitted over the network.

FilledSmallSquare When you have more than one kernel running at the same time (e.g., a local kernel and a remote kernel), this command applies only to the current kernel. You can have several interrupt dialog boxes visible at the same time, each labeled with the name of the corresponding kernel.

FilledSmallSquare If Mathematica is communicating with another program via MathLink, the MathLink Control options allow you to interrupt, abort, or kill the linked program.

FilledSmallSquare If Abort does not work (i.e., if the calculation keeps running for more than a few seconds), you can choose Quit Kernel from the Kernel menu. If you do this, you will have to restart a kernel before you can evaluate anything else.