Re: [lldb-dev] LLDB Process Attach Failed When Waiting

2018-05-31 Thread Greg Clayton via lldb-dev
> On May 31, 2018, at 12:40 PM, Ryan Lovelett wrote: > > Well at least there is a little good news. I understood way more of those > logs than I thought I did. > >> So two issues here: >> 1 - we need a better error message when vAttachWait returns unsupported >> 2 - fix lldb-server to support

Re: [lldb-dev] LLDB Process Attach Failed When Waiting

2018-05-31 Thread Davide Italiano via lldb-dev
On Thu, May 31, 2018 at 12:40 PM, Ryan Lovelett via lldb-dev wrote: > Well at least there is a little good news. I understood way more of those > logs than I thought I did. > > So two issues here: > 1 - we need a better error message when vAttachWait returns unsupported > 2 - fix lldb-server to su

Re: [lldb-dev] LLDB Process Attach Failed When Waiting

2018-05-31 Thread Ryan Lovelett via lldb-dev
Well at least there is a little good news. I understood way more of those logs than I thought I did. > So two issues here: > 1 - we need a better error message when vAttachWait returns > unsupported> 2 - fix lldb-server to support vAttachWait A few questions. What is the protocol here? Can/should

Re: [lldb-dev] LLDB Process Attach Failed When Waiting

2018-05-31 Thread Greg Clayton via lldb-dev
lldb-server claims it doesn't support it: lldb < 48> send packet: $vAttachWait;6c616e677365727665722d7377696674#d6 lldb < 4> read packet: $#00 Returning the empty packet ("$#00") means it is not supported, but we really should give a better error message than this.

Re: [lldb-dev] LLDB Process Attach Failed When Waiting

2018-05-31 Thread Ryan Lovelett via lldb-dev
> It might be a lldb-server issue? How would one go about determining this? (lldb) log enable -f /tmp/packates.txt gdb-remote packets (lldb) process attach --name "" --waitfor error: attach failed: lost connection Attached the log output. Maybe it'll make more sense to you than me. That escalat

Re: [lldb-dev] LLDB Process Attach Failed When Waiting

2018-05-31 Thread Greg Clayton via lldb-dev
Try enabling logging with: (lldb) log enable -f /tmp/packets.txt gdb-remote packets And the try the attach. It might be a lldb-server issue? > On May 31, 2018, at 9:02 AM, Ryan Lovelett via lldb-dev > wrote: > > I am attempting to use: process attach --name "" --waitfor > > The problem is th

[lldb-dev] [Bug 37640] LLDB crash when stepping into delegate method

2018-05-31 Thread via lldb-dev
https://bugs.llvm.org/show_bug.cgi?id=37640 Craig Rouse changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[lldb-dev] LLDB Process Attach Failed When Waiting

2018-05-31 Thread Ryan Lovelett via lldb-dev
I am attempting to use: process attach --name "" --waitfor The problem is that it immediately returns error: attach failed: lost connection. Is this something I can troubleshoot further? Or is this not supported on Linux? -- Ryan Lovelett ___ lldb-

[lldb-dev] [Bug 37640] New: LLDB crash when stepping into delegate method

2018-05-31 Thread via lldb-dev
https://bugs.llvm.org/show_bug.cgi?id=37640 Bug ID: 37640 Summary: LLDB crash when stepping into delegate method Product: lldb Version: unspecified Hardware: Macintosh OS: MacOS X Status: NEW Severity: nor