This method is called when the user clicks on the break button.
This method breaks the evaluation thread.
It then inserts a new prompt, using insert-prompt