当“等待可执行文件启动”时,NSLog不起作用。被设置 [英] NSLog not working when "wait for executable to be launched" is set

查看:68
本文介绍了当“等待可执行文件启动”时,NSLog不起作用。被设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是按照主题行探索调试。我要注意的是,尽管这样做很容易,但NSLog不会输出,但中断确实会受到打击。这没有帮助;)..在编辑方案窗口中没有看到任何明显的选项。



这是为了测试推送,但首先,我只是手动启动应用程序以确保过程正常运行(等待应用程序手动启动等)。 / p>

感谢任何提示。

解决方案

正常启动,则日志将已经连接到ASL。实际上,调试器没有很好的方法来重新路由此连接。您将必须在设备控制台中查找日志。在Xcode 6中,选择Windows-> Devices,然后在内容窗口的底部有一个小小的显示小部件,它将显示Device控制台。


I am just exploring debugging as per the subject line. I am noting that while this works easily enough, the NSLog's are not outputting, but breaks do get hit. This is not helping ;) .. I don't see any obvious options in the edit scheme window.

This is to test pushes, but firstly i am just manually firing up the app to ensure the process works (with waiting for the app to manually start etc)..

Thanks for any tips..

解决方案

If you let the process start normally, then the logs will be hooked up to ASL already. The debugger doesn't have a good way to reroute this connection after the fact. You will have to look in the Device Console for the logs. In Xcode 6, select Windows->Devices, then there's a little disclosure widget at the bottom of the content window that will reveal the Device console.

这篇关于当“等待可执行文件启动”时,NSLog不起作用。被设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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