Interrupting Calculations

There will probably be times when you want to stop the Wolfram Language in the middle of a calculation. Perhaps you realize that you asked the Wolfram Language to do the wrong thing. Or perhaps the calculation is just taking a long time, and you want to find out what is going on.

The way that you interrupt a Wolfram Language calculation depends on what kind of interface you are using.

Alt+, or Cmd+Option+.notebook interfaces
Ctrl+Ctextbased interfaces

Typical keys to interrupt calculations in the Wolfram Language.

When doing some operations, it may take the Wolfram Language some time to respond to your interrupt. When the Wolfram Language does respond, it will give you a menu of possible things to do. This will typically include not only aborting your computation, but also entering a subsession or "dialog" to inspect its state.

Related Tutorials