简体   繁体   中英

LLDB autocompletion not working (Lubuntu)

Auto-completion is not working when I hit TAB in lldb session. I'm trying to figure out why.

Steps to reproduce the issue: start the terminal -> start lldb -> digit bre TAB

$ lldb
(lldb) bre< TAB >

When I hit the TAB key it's not completing to "breakpoint", instead it's inserting a tab-space.

Could it be an incompatibility of lldb in lxterminal , or some miss configuration?

Any ideas that could help me figure out what is going on and how can I get it working?

Thanks for any help.

-- System information --

VirtualBox 5.2.0 r118431(Qt5.6.3)
host os: OSX 10.13.4
guest os: Lubuntu 17.10
lldb version: 4.0.1

NOTE: lldb autocompletion works perfectly in Terminal in the Host OS.

-- Searches I've already done --
on DuckDuckgo and Stackoverflow.com (couldn't find anything useful)

  1. "Lubuntu" "lldb" "lxterminal" autocompletion not working
  2. "lldb" "lxterminal" autocompletion
  3. "lldb" "lxterminal"
  4. "lldb" autocompletion not working

-- UPDATE --
Maybe it is not an lxterminal issue with lldb. Just now I installed gnome-terminal and I'm having the same behaviour.
Could it be something in the Lubuntu OS or VirtualBox?

Removed ed purged lldb-4.0.
Installed lldb-6.0 from llvm repository

see: https://apt.llvm.org

# uninstall  lldb-4.0 completely
    $sudo apt purge lldb-4.0
    $sudo apt autoremove
    $sudo apt autoclean

    # install lldb-6.0 from llvm repository for ubuntu 18 Bionic
    $sudo apt-add-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-6.0 main"
    $sudo apt update
    $sudo apt install lldb-6.0

    # create lldb that points to the same file pointed by lldb-6.0
    $cd /usr/bin/
    $sudo ln -s ../lib/llvm-6.0/bin/lldb lldb

now everything works regularly

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM