Input to console in Xcode 4

坚强是说给别人听的谎言 提交于 2019-12-07 06:13:23

问题


I upgraded to Xcode 4 recently. Love the IB integration; hate pretty much everything else.

Anyway, maybe it's just me going crazy, but I can't seem to be able to input anything into the GDB command line (can you even open the console other then as the output window or through the Log navigator??).

Anybody has a solution? Hoping it's just me being stupid here...


回答1:


To view output & type commands for GDB, make sure the output window is open.

In the top-right of Xcode 4 you have 3 groups of buttons labeled 'Editor', 'View' and 'Organiser'. Make sure the middle botton of the 'View' group is enabled.

On the bottom, the output window should now be visible. To the top-right of that output panel, there are 3 visibility toggle buttons. Make sure either the middle one (watch window + output console) or the right one (just the console) is selected.

Hope this helps.



来源:https://stackoverflow.com/questions/5558811/input-to-console-in-xcode-4

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