如何在 Eclipse 中关闭“自动切换到调试视角”模式?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2515762/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How do I turn off "Automatically Switch to Debug Perspective" mode in eclipse?
提问by Sam Dolan
Is there a way to turn off this mode? I must have clicked it by accident, and now it's getting really annoying.
有没有办法关闭这种模式?我一定是不小心点击了它,现在它变得非常烦人。
I've looked in the preferences and perspectives pane, but can't see anything. Does anyone know where this option is configured?
我查看了首选项和视角窗格,但什么也看不到。有谁知道这个选项在哪里配置?
回答by skaffman
Preferences -> Run/Debug -> Perspectives -> Open the associated perspective when application suspends
Preferences -> Run/Debug -> Perspectives -> 当应用程序挂起时打开关联的透视图
回答by Daniel Adenew
1
1
Other option is you can also reset
your perspective
preference
from windows
-> reset perspective
and then run/debug
then a dialog
asking to switch to debug perspective
when every time you debug the application and say check NO
.
另一种选择是,你还可以reset
你perspective
preference
从windows
- >reset perspective
然后run/debug
再dialog
要求切换到debug perspective
当你每次调试应用程序,并说检查NO
。
2
2
Goto Windows
- > preference
-> General
->perspectives
-> make default your perspective or press reset to default
to forget the previous settings.
转到Windows
- > preference
-> General
-> perspectives
-> 将您的视角reset to default
设为默认值,或者按下以忘记之前的设置。
回答by Sunil Kumar
@skaffman in addition to this you may also need to set the Prefrences> Run/Debug> Perspectives> "Open associated perspective when an application suspends" to Prompt or never.
@skaffman 除此之外,您可能还需要将首选项> 运行/调试> 透视>“应用程序挂起时打开关联透视”设置为提示或从不。
回答by Geeky
Go to Window→perspective→close perspective.
转到窗口→透视图→关闭透视图。