如何使Xcode 4.4调试控制台使用弹出窗口进行自动填充? [英] How to make Xcode 4.4 debug console use a popup for autocomplete?

查看:194
本文介绍了如何使Xcode 4.4调试控制台使用弹出窗口进行自动填充?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在OSX Mountain Lion上使用Xcode Version 4.4.1(4F1003)10.8.1

I am using Xcode Version 4.4.1 (4F1003) on OSX Mountain Lion 10.8.1

说你是在Xcode中进行调试,您将在断点停止。

Say you are debugging in Xcode, and you stop at a breakpoint.

然后,转到调试控制台提示符并开始输入 po loc ...

Then you go to the debug console prompt and start typing po loc...

对我来说,两件事之一会发生:

For me, one of two things will happen:

1)控制台将显示一个包含选项的弹出窗口(与主文本编辑窗口中的自动完成功能相同)

1.) The console will display a popup with options (the same way autocomplete works in the main text editing window)

2)控制台将简单自动自动完成找到的第一件事。例如 po localeconv()。即使我打算输入 po locationForAPI

2.) The console will simply automatically autocomplete to the first thing it finds. For example po localeconv(). Even though I was going to type po locationForAPI.

As就我所知,Xcode的行为方式为1,当它将表现为2时是随机的。

As far as I can tell, it is random as to when Xcode will behave as 1 and when it will behave as 2.

事实证明,2对于全部(这里有人尝试关闭此功能)。

It turns out that 2 is not very useful at all (here are people trying to turn this functionality off).

但是,行为1非常有用!

But, behavior 1 is very useful!

,我的问题:
有谁知道如何强制Xcode使用行为1而不是行为2?

推荐答案

解决方案:重新启动Xcode

Xcode始终以良好的行为开始,然后在某些时候切换到不良行为。

Solution: Restart Xcode
Xcode always starts in the good behavior and then switches to the bad behavior at some point.

(在这种情况下,经典的删除派生数据不起作用)

(The classic "Delete Derived Data" doesn't work in this situation)

这篇关于如何使Xcode 4.4调试控制台使用弹出窗口进行自动填充?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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