How do you stop the XCode debugger from autocompleting without options?

后端 未结 2 1259
清酒与你
清酒与你 2020-12-17 10:03

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 [s

2条回答
  •  北海茫月
    2020-12-17 10:24

    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'
    

提交回复
热议问题