如何在工作表中停止程序执行? [英] How to stop program execution in worksheet?

查看:38
本文介绍了如何在工作表中停止程序执行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在 Scala 工作表中停止程序执行?

How can program execution be stopped in the Scala worksheet ?

如果代码正在执行并且没有返回(无限循环),似乎不可能在不重新启动 Eclipse 的情况下停止程序执行?

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 ?

推荐答案

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

如果程序执行时间过长,编辑器会添加一个旋转2 秒后酒吧.您可以随时通过以下方式中断评估输入任何字符或 Esc.

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.

这篇关于如何在工作表中停止程序执行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆