在 Eclipse 中禁用自动透视更改

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/4258746/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 19:45:45  来源:igfitidea点击:

Disable Automatic Perspective Change in Eclipse

eclipse

提问by ewggwegw

I use Eclipse for coding, but I have a problem. When I debug a C++ project, Eclipse automatic switches to the Debug perspective, but I don't want the automatic switch. How can I disable the automatic switching?

我使用 Eclipse 进行编码,但我遇到了问题。当我调试 C++ 项目时,Eclipse 会自动切换到 Debug 透视图,但我不想要自动切换。如何禁用自动切换?

回答by Oliver Bock

The accepted answer did not work for me debugging Java on Eclipse Juno SR1, but this did:

接受的答案对我在 Eclipse Juno SR1 上调试 Java 不起作用,但这样做了:

  1. Window | Preferences...menu item
  2. Choose Run/Debugon the left, about half-way down.
  3. Choose Perspectivesunder that
  4. Select Neverat Open the associated perspective when launchingand Open the associated perspective when an application suspends
  1. 窗口 | 首选项...菜单项
  2. 选择左侧的Run/Debug,大约向下一半。
  3. 在该选项下选择Perspectives
  4. 选择从来没有打开时启动相关的观点,并打开相关的角度来看,当一个应用程序则将挂起