How to make Xcode 4.4 debug console use a popup for autocomplete?

*爱你&永不变心* 提交于 2019-12-04 04:03:31

问题


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


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

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

For me, one of two things will happen:

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

or

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 far as I can tell, it is random as to when Xcode will behave as 1 and when it will behave as 2.

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


But, behavior 1 is very useful!

Thus, my question: Does anyone know how to force Xcode to use behavior 1 and not behavior 2?


回答1:


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)



来源:https://stackoverflow.com/questions/12220682/how-to-make-xcode-4-4-debug-console-use-a-popup-for-autocomplete

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!