简体   繁体   English

如何在Qt Creator中返回调试窗口

[英]How to return debug window in Qt Creator

When I run C++ program under qt creator in debug mode, Qt creator shows me debug window with "local and expressions", "breakpoints" and so on. 当我在调试模式下在qt creator下运行C ++程序时,Qt创建者向我展示了带有“本地和表达式”,“断点”等的调试窗口。

Sometimes I close these windows to watch the code by pressing Esc. 有时我会关闭这些窗口以按Esc来查看代码。 How to return this views back? 如何返回此视图? I really need to loot at stack trace right now, but I can't find a button to show me the stack. 我现在真的需要在堆栈跟踪中掠夺,但我找不到一个按钮来显示堆栈。

I looked at this question but it didn't help. 看了这个问题,但没有帮助。 My debugging window working well, but when I close it, I cannot open it again. 我的调试窗口运行良好,但是当我关闭它时,我无法再次打开它。 The only way - restart whole program, than debugging view appear again and I can operate with it. 唯一的方法 - 重新启动整个程序,再次显示调试视图,我可以使用它。

You need to go back to the "Debug" mode by clicking on the debug (bug) icon on the left hand side. 您需要通过单击左侧的调试(错误)图标返回“调试”模式。

You can do so by pressing CTRL + 4. 你可以按CTRL + 4来完成。

"Debug" mode and CTRL + 4 didn't help me, so here is another solution: “调试”模式和CTRL + 4没有帮助我,所以这是另一个解决方案:

Click "Views" which should be on the dark grey bar in the lower right area of your user interface, in small print. 单击“视图”,该视图应位于用户界面右下方的深灰色条上,并以小字体显示。 There you can check or uncheck any of the Debug windows you want to see. 在那里,您可以选中或取消选中要查看的任何调试窗口。

I find it easier to just click "Reset to Default Layout" under this menu because I'm not hard to please and it brings all the debug windows I want to see back instantly. 我发现在这个菜单下单击“重置为默认布局”会更容易,因为我不难取悦,它会带来我想要立即看到的所有调试窗口。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM