[lldb-dev] [Bug 33748] New: Poor error for attaching to nonexistent PID

via lldb-dev lldb-dev at lists.llvm.org
Tue Jul 11 11:03:22 PDT 2017


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

            Bug ID: 33748
           Summary: Poor error for attaching to nonexistent PID
           Product: lldb
           Version: unspecified
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: jordan_rose at apple.com
                CC: llvm-bugs at lists.llvm.org

(lldb) process attach --pid 99999
error: attach failed: unable to attach

We can do better than this if we know the process doesn't exist vs. if it does
exist and LLDB couldn't attach to it for another reason. In my case it was a
typo rather than an obviously bogus PID, so a more descriptive message would
have helped.

-- 
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/20170711/d70b6e84/attachment.html>


More information about the lldb-dev mailing list