如何使用仪器时从控制台应用程序看到NSLog() [英] How to see NSLog() from console app when using instruments

查看:124
本文介绍了如何使用仪器时从控制台应用程序看到NSLog()的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用仪器进行分配,但希望看到我的NSLog消息。在另一篇文章中,他们提到要查看/ Applications / Utilities / Console中的消息。我似乎没有发现任何他们。打开控制台应用程序后,您会在哪里看?

I'm using instruments for allocations, but want to see my NSLog messages. In another post they mentioned to look inside /Applications/Utilities/Console for the messages. I can't seem to spot any of them. After you open the Console App, where would you look?

推荐答案

您可以使用Xcode Organizer查看设备的控制台。

You can view the console of the device using Xcode Organizer.

在Xcode 6中,设备选项卡从管理器中移除到自己的窗口中。要查看控制台日志,您现在必须单击设备信息左下角区域中的小小三角形。

In Xcode 6, the "Devices" tab was removed from the Organizer into it's own window. To view the console log, you now have to click the tiny little triangle in the lower left-hand area of the device information.

这篇关于如何使用仪器时从控制台应用程序看到NSLog()的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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