如何显示X code中的记录消息窗口 [英] How to show the Logged Messages window in Xcode

查看:241
本文介绍了如何显示X code中的记录消息窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是一个很新的可可用户,并运行到各种各样的问题...

我试图让数组的内容,发现这个code做到这一点。


  

的NSLog(@数组:%@,集合);


问题是,我没有得到这显示了这种回响

任何控制台或示踪剂窗口

有另一个命令我应该使用,我已经试过打开的所有窗口,但我不认为这应该显示的消息。我知道,此调用执行的功能,所以引用是正确的。

谢谢,对不起,这些初学者的问题...使用计算器是不是通过所有的文档阅读苹果已经就这一课题的方式更快。<​​/ P>

解决方案

在X code同时运行项目,编辑修改,以​​显示在它的字母GDB一个黑色的小按钮。点击它,看看它有它的控制台中的调试器。

祝你好运!

呵呵,我会阅读苹果文档。这并不坏。

I'm a very new Cocoa user and running into all sorts of problems...

I'm trying to get the content of an Array and found this code to do this.

NSLog(@"array : %@",collection);

The problem is, I'm not getting any console or tracer window that shows this 'echo'

Is there another command I should use, i've tried opening all windows but I don't see the message that should show. I know the function that this call is in is executed, so the reference is right.

Thanks and sorry for these beginner questions... Using stackoverflow is way faster than reading through all the documentation apple has regarding the subject.

解决方案

When Xcode runs your project, the editor changes to show a little black button with the letters "GDB" in it. Click on that to see the Debugger which has the console in it.

Good luck!

Oh, and I would read Apple's documentation. It's not that bad.

这篇关于如何显示X code中的记录消息窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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