为什么我的xcode 4.2日志始终为空? [英] Why is my xcode 4.2 log always empty?
本文介绍了为什么我的xcode 4.2日志始终为空?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在一种被访问了3次的方法中,我想向日志中写入一些内容.
in a method that is accessed three times I want to write something to the log.
NSLog(@"%@", [response responseString]);
但是日志中没有任何内容.日志窗口是完全白色的.通常,当我启动一个应用程序时,总是在日志中显示一些内容,但是现在它完全是空的.
But there is nothing in the log. The log windows is completely white. Normally when I start an application there is always some stuff that shows up in the log but now it is totally empty.
我该如何解决?
推荐答案
也许是一件很愚蠢的事情,但是在控制台的右上角,您应该看到以下内容:
Perhaps a really silly thing, but in the top right-corner of the console you should see this:
检查是否选择了中段或右段.
Check that the middle segment or right segment is selected.
这篇关于为什么我的xcode 4.2日志始终为空?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文