ios 如何在“xcode 6”中显示调试器控制台

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

How can you show the debugger console in "xcode 6"

iosxcodexcode6

提问by rowdyruckus

In Xcode 5 you could show the bottom view and show the debugger console. But in xcode 6 I'm getting no data when running on the simulator. What gives?

在 Xcode 5 中,您可以显示底部视图并显示调试器控制台。但是在 xcode 6 中,我在模拟器上运行时没有得到任何数据。是什么赋予了?

回答by Yasika Patel

Go to XCode -> Preferences -> Behaviors -> Select “Starts” in Running -> Select “Show” debugger With “Variables & Console View”

转到 XCode -> 首选项 -> 行为 -> 在运行中选择“开始” -> 选择“显示”调试器和“变量和控制台视图”

enter image description here

在此处输入图片说明

than select the "Hide or show the Debug area" Button

比选择“隐藏或显示调试区域”按钮

enter image description here

在此处输入图片说明

and Now click on Small Arrow Button

现在点击小箭头按钮

enter image description here

在此处输入图片说明

i think it might be helpful in your case. For more info you can see here.

我认为这对您的情况可能会有所帮助。有关更多信息,您可以在此处查看

回答by Filip

Nothing of the above worked for me, but Rob′s answer helped me to find the solution. I had to activate the console in View > Debug Area > Activate Console (shift-command-C)

以上都对我不起作用,但 Rob 的回答帮助我找到了解决方案。我必须在 View > Debug Area > Activate Console (shift-command-C) 中激活控制台

回答by Bhumit Mehta

You can click on small triangle at the bottom to see the console.

您可以单击底部的小三角形以查看控制台。

screenshot illustrating this

说明这一点的屏幕截图

You can also use the keyboard shortcut ??Y

您也可以使用键盘快捷键 ??Y

回答by rob mayoff

In addition to Bhumit's answer, you can also choose View > Debug Area > Show Debug Area from the menu bar.

除了 Bhumit 的回答,您还可以从菜单栏中选择 View > Debug Area > Show Debug Area。

The default keyboard shortcut to show or hide the debug area is ??Y(shift-command-Y).

显示或隐藏调试区域的默认键盘快捷键是??Y(shift-command-Y)。