[lldb-dev] [Bug 28041] New: Tab completion adds backslashes to function names, which causes them not to match

via lldb-dev lldb-dev at lists.llvm.org
Tue Jun 7 14:12:03 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=28041

            Bug ID: 28041
           Summary: Tab completion adds backslashes to function names,
                    which causes them not to match
           Product: lldb
           Version: 3.6
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: chris+llvm at qwirx.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

(lldb) b BackupStoreException::BackupStoreException<tab> results in:

(lldb) b BackupStoreException::BackupStoreException(unsigned\ int,\
std::__1::basic_string<char,\ std::__1::char_traits<char>,\
std::__1::allocator<char>\ >\ const&) <enter>
Breakpoint 1: no locations (pending).
WARNING:  Unable to resolve breakpoint to any actual locations.

However, the function does exist:

(lldb) b BackupStoreException::BackupStoreException                            
                                                                         
Breakpoint 2: 2 locations.

I think that the inserted backslashes are the problem. If I remove them,
setting the breakpoint works:

(lldb) b BackupStoreException::BackupStoreException(unsigned int,
std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> > const&)
Breakpoint 3: 2 locations.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20160607/6f979907/attachment.html>


More information about the lldb-dev mailing list