> 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
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
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
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.
> 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
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
https://bugs.llvm.org/show_bug.cgi?id=37640
Craig Rouse changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
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-
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