美文网首页
IDEA中怎么多开运行main方法

IDEA中怎么多开运行main方法

作者: 奔跑的Robi | 来源:发表于2019-08-23 16:39 被阅读0次

问题

有时想开两个运行窗口,但是不知道怎么弄,重复点击Run按钮还会提示“is not allowed to run in parallel”,

解决方法

打开run–>edit configuration,选择需要多线程所在的程序,也就是需要多开的程序,在右上角有"Allow running in parallel",选中,确认,即可解决。

相关文章

网友评论

      本文标题:IDEA中怎么多开运行main方法

      本文链接:https://www.haomeiwen.com/subject/hzutectx.html