当新的调试会话启动时,如何终止先前的调试会话?
在 Flash Builder 4 中,您可以在启动新调试会话时立即终止上一个调试会话。在 Eclipse 中,以前的调试会话会一直保留,直到您手动终止它们。
有谁知道在启动新调试会话时是否可以让 Eclipse 终止以前的调试会话,如果可以的话如何?
(我使用的是 MyEclipse for Spring 8.6)
In Flash Builder 4 you are able to have the previous debugging session be terminated as soon as you launch a new one. In eclipse previous debugging sessions stick around until you manually terminate them.
Does anyone know if it is possible to have eclipse terminate previous debug sessions when launching a new one, and if so how?
(I am using MyEclipse for Spring 8.6)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
不是最好的答案,但是...您可以让自己更轻松地终止,尝试
Ctrl+F2
您也可以转到
Window >首选项>一般>键
并搜索终止并重新启动。我正在尝试Alt+F11
。或者,您可以使用如下脚本终止构建: http ://www.eclipse.org/forums/index.php?t=rview&goto=647327&th=202549
Not the best answer but... you could just make terminating easier on yourself, try
Ctrl+F2
You can also go to
Window > Preferences > General > Keys
and search for Terminate and Relaunch. I'm trialingAlt+F11
.Alternatively you terminate on build with scripts like here: http://www.eclipse.org/forums/index.php?t=rview&goto=647327&th=202549
首先启动正常的调试会话。
之后,在调试模式下,您可以使用终止并重新启动。
以下是如何正确地将按键绑定到命令(Window/Preferences -> Settings/General/Keys):
在本例中为:
注意:分配按键时请注意到时间列。
First launch normal debugging session.
After that, while in debugging mode, you can use Terminate and Relaunch.
Here is how to bind the keys to the commands properly (Window/Preferences -> Settings/General/Keys):
In this case it is:
Note: when assigning the keys, pay attention to When column.
如果在启动新运行时按 Shift,旧运行将自动终止。
If you press Shif during launching the new run, the old one will be terminated automatically.