Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to stop program execution in worksheet?

How can program execution be stopped in the Scala worksheet ?

If code is executing and does not return (an infinite loop) it does not seem possible to stop the program execution without re-starting Eclipse ?

like image 772
blue-sky Avatar asked Sep 16 '13 20:09

blue-sky


1 Answers

From https://github.com/scala-ide/scala-worksheet/wiki/Getting-Started :

If the program takes too long to execute, the editor adds a spinning bar after 2 seconds. You can interrupt the evaluation at any point by typing any character or Esc.

like image 186
red1ynx Avatar answered Nov 14 '22 15:11

red1ynx