在调试模式下启动服务器时,阻止Eclipse自动打开调试透视图 [英] Stop Eclipse from automatically opening the debug perspective when starting server in debugging mode

查看:147
本文介绍了在调试模式下启动服务器时,阻止Eclipse自动打开调试透视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在堆栈溢出中有几个示例,说明了在调试器激活(即遇到断点)时如何启用/禁用打开调试透视图.这可以通过以下方法实现:

There are several examples on stack overflow of how to enable/disable the debug perspective from opening when the debugger activates (i.e., hits a breakpoint). This would be achieved by going to:

首选项->运行/调试->透视图->在应用程序暂停时打开关联的透视图

Preferences -> Run/Debug -> Perspectives -> Open the associated perspective when application suspends

我的问题不是这个.每当我以调试模式启动服务器时,调试透视图就会打开.由于我已经在我的自定义透视图中打开了调试视图,所以这不是我想要的行为.我尝试编辑首选项"->运行/调试"->透视图"中的每个选项,所以我知道答案不存在.有人知道如何停止这种行为吗?

My question is not about this. Whenever I start my server in debug mode, the debug perspective opens. Since I already have the debug view open in my custom perspective, this is not the behavior I want. I've tried editing every option in Preferences -> Run/Debug -> Perspectives, so I know the answer is not there. Does anyone know how to stop this behavior?

推荐答案

我找到了获得相同结果的简单解决方法.现在,我将调试"透视图本身用作主要透视图.我已经对调试"透视图进行了自定义,使其看起来像我以前使用的自定义透视图.现在,此透视图是唯一打开过的透视图,我可以使IDE看起来像我想要的样子.

I found a simple workaround that obtains the same result. I now use the "Debug" perspective itself as my main perspective. I've customized the "Debug" perspective to look like the custom perspective I used to use. Now this perspective is the only one that is ever open and I can keep the IDE looking like how I want it to look.

这篇关于在调试模式下启动服务器时,阻止Eclipse自动打开调试透视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆