附加到进程后 Xcode 控制台为空
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/15431036/
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
Xcode console empty after attaching to process
提问by mattsson
I build an app to my iPhone, quit it, launch it again and then I succesfully Attach to Process in Xcode. Now I have a running Debug in the Log Navigator, but my console is just empty. Shouldn't I see all my usual console outputs there?
我在我的 iPhone 上构建了一个应用程序,退出它,再次启动它,然后我成功地在 Xcode 中附加到进程。现在我在日志导航器中有一个正在运行的调试,但我的控制台是空的。我不应该在那里看到所有常用的控制台输出吗?
回答by mattsson
You can see the logs in Device logs. Open xcode Window-->Devices (Select device)-->Device logs.Click on 'up' arrow button to see the consol.It display every logs in development/adhoc/appstore apps.
您可以在设备日志中查看日志。打开 xcode 窗口--> 设备(选择设备)--> 设备日志。单击“向上”箭头按钮查看控制台。它显示开发/临时/应用商店应用程序中的每个日志。
回答by Ian MacDonald
The console in Xcode will only display output from your application's process, not the firehose of output shown in the general device console.
Xcode 中的控制台将只显示应用程序进程的输出,而不是通用设备控制台中显示的输出流。
回答by bllakjakk
I too face this problem recently and found it working when I force quit xcode and try clean build. Its adhock but it works. Have fun.
我最近也遇到了这个问题,当我强制退出 xcode 并尝试清理构建时发现它可以工作。它的临时性,但它的工作原理。玩得开心。
回答by primax79
check if you changed the bottom-left parameter of the XCode console
检查您是否更改了 XCode 控制台的左下角参数
try selecting the default value "All Output"
尝试选择默认值“所有输出”