如何在没有选项的情况下停止自动完成XCode调试器? [英] How do you stop the XCode debugger from autocompleting without options?

查看:142
本文介绍了如何在没有选项的情况下停止自动完成XCode调试器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

调试器真的(困扰着我)。每次我尝试输入一个po ...命令时,它会自动完成(不给我任何选项),最后我输入像 po [selfelf 等等,直到我发疯。有什么方法可以阻止它,或者总是给我像标准编辑器一样的自动完成弹出窗口?

解决方案

这个答案适用于GDB调试器,它不再是Xcode使用的标准调试器



这可以通过添加以下内容来实现行到readline初始化文件(默认情况下,我认为它不存在)。我创建了〜/ .inputrc 文件,并在其中放入以下文本:

  set disable-completions'On'


The debugger is really (de)bugging me. Every time I try to type a po ... command, it autocompletes (without giving me any options) and I end up typing stuff like po [selfelf and so on until I go mad. Is there any way of stopping this, or of always giving me the autocomplete popup like in the standard editor?

解决方案

This answer applied to the GDB debugger which is no longer the standard debugger used with Xcode

This is achieved by adding the following line to the "readline init file" (which, by default, I think does not exist). I created the file ~/.inputrc and put the following text in it:

set disable-completions 'On'

这篇关于如何在没有选项的情况下停止自动完成XCode调试器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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