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@lists.llvm.org
          Reporter: jordan_r...@apple.com
                CC: llvm-b...@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.
_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Reply via email to