How to stop program execution in worksheet?

佐手、 提交于 2019-12-14 00:29:58

问题


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 ?


回答1:


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.



来源:https://stackoverflow.com/questions/18836329/how-to-stop-program-execution-in-worksheet

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!