[英]Eclipse - Run program in Windows CMD instead of Eclipse's console
Before a long time ago, when I had an earlier version of eclipse my programs without any windows would popup as a windows command prompt, now they run in the eclipse console. 很久以前,当我使用早期版本的eclipse时,没有任何窗口的程序会作为Windows命令提示符弹出,现在它们在eclipse控制台中运行。 That's really annoying since I can't see which programs that are running and I must restart eclipse to terminate all programs. 这真令人讨厌,因为我看不到正在运行的程序,因此必须重新启动eclipse才能终止所有程序。 (I want to test a TCP Server with a TCP Client and have both running at the same time). (我想用TCP客户端测试TCP服务器,并且两者都同时运行)。
Can someone tell me how I can make eclipse's run function use windows cmd instead of eclipses console? 有人可以告诉我如何使用Windows cmd而不是Eclipse控制台来使Eclipse的运行功能吗?
Or atleast how I can get up a list of all running programs so I can terminate them instead of restarting eclipse each time? 或者至少如何获取所有正在运行的程序的列表,以便我可以终止它们而不是每次都重新启动Eclipse?
Pleaaase help! 求助!
Thanks aloooooot. 谢谢aloooooot。
To get a list of all running programs you have to open the debug view of Eclipse. 要获取所有正在运行的程序的列表,您必须打开Eclipse的调试视图 。 Here you can easily switch between the processes and you can also exit all running processes at once. 您可以在此处轻松地在进程之间切换,也可以一次退出所有正在运行的进程。 (Other than that you can also pause/resume running processes, break at methods, step-debug your code and much more... you will like it better than the CMD once you get used to it) (除此之外,您还可以暂停/恢复正在运行的进程,中断方法,逐步调试代码等等……一旦习惯了,您会比CMD更喜欢它)
You can also switch between running programs in the Eclipse console view by choosing one in the drop down list of the "Display Selected Console" button. 您还可以通过在“显示所选控制台”按钮的下拉列表中选择一个来在Eclipse 控制台视图中运行的程序之间进行切换。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.