<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">It sounds like you aren’t getting completion anywhere, both in the python interpreter and in the regular lldb command line interpreter, is that right? If so, then it’s most likely you didn’t get link with libedit, which is what provides the tab completion, command line editing and the like. You can easily tell by attaching to your lldb with another lldb and running “image list”. You should see libedit in the list. If you don’t then that’s your problem… Without libedit support lldb just thinks it is talking to a dumb terminal, and can’t do anything smart with user input.<div class=""><br class=""></div><div class="">The lldb CMakery will try to find and use lib edit from your system. There are also cmake variables that control whether to link in libedit and where to find it. Anyway, likely something went wrong there.<div class=""><br class=""></div><div class="">Jim</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Mar 17, 2020, at 2:39 AM, Rui Hong via lldb-dev <<a href="mailto:lldb-dev@lists.llvm.org" class="">lldb-dev@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">Hi LLDB devs,<div class=""><br class=""></div><div class="">First I want to thank you all for the very helpful advice on my former question! It's a really nice community.<br class=""></div><div class=""><br class=""></div><div class="">I <font style="display: inline; font-size: 14px; font-family: Verdana; background-color: rgba(0, 0, 0, 0); font-weight: 400; font-style: normal;" __editorwarp__="1" class="">have a small problem now about LLDB tab completion and I haven't found any solutions so far. I used to have nice tab completion before. But I cannot get this feature to work on my </font><font style="display: inline; font-size: 14px; font-family: Verdana; background-color: rgba(0, 0, 0, 0); font-weight: 400; font-style: normal;" __editorwarp__="1" class=""><font style="display: inline; font-size: 14px; font-family: Verdana; background-color: rgba(0, 0, 0, 0); font-weight: 400; font-style: normal;" __editorwarp__="1" class="">LLDB 7.0.1 on linux after I enable python</font>, where an actual tab is inserted after the cursor and similar for other control characters like Backspace. Both in lldb console and the embedded python interpreter:</font></div><div class=""><font style="display: inline; font-size: 14px; font-family: Verdana; background-color: rgba(0, 0, 0, 0); font-weight: 400; font-style: normal;" __editorwarp__="1" class=""><span id="cid:3203DB14@DEF03B5E.C19A705E"><3203DB14@DEF03B5E.C19A705E.jpg></span><br class=""></font></div><div class=""><font style="display: inline; font-size: 14px; font-family: Verdana; background-color: rgba(0, 0, 0, 0); font-weight: 400; font-style: normal;" __editorwarp__="1" class="">That's very inconvenient. Is there anything wrong? I haven't changed the code at all, just added some necessary parameters in cmake command to enable python. Things worked well even last week before rebuild with python</font><font style="display: inline; font-size: 14px; font-family: Verdana; background-color: rgba(0, 0, 0, 0); font-weight: 400; font-style: normal;" __editorwarp__="1" class=""><span class="op_dict_text2"></span></font></div><div class=""><font style="display: inline; font-size: 14px; font-family: Verdana; background-color: rgba(0, 0, 0, 0); font-weight: 400; font-style: normal;" __editorwarp__="1" class=""><br class=""></font></div><div class="">Kind regards,</div><div class="">Rui</div><div class=""><br class=""></div>_______________________________________________<br class="">lldb-dev mailing list<br class=""><a href="mailto:lldb-dev@lists.llvm.org" class="">lldb-dev@lists.llvm.org</a><br class="">https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev<br class=""></div></blockquote></div><br class=""></div></div></body></html>