Re: [lldb-dev] error: process launch failed: Lost debug server connection

2018-07-13 Thread NeckTwi via lldb-dev
I haven’t got any reply from bugs-ad...@lists.llvm.org 
. Please look into it.

… NeckTwi



___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


Re: [lldb-dev] error: process launch failed: Lost debug server connection

2018-07-12 Thread Zachary Turner via lldb-dev
You might not get a reply but usually the turnaround time is < 24 hours.
If it's not let me know and I'll find out who to ask.

On Thu, Jul 12, 2018 at 7:50 AM NeckTwi via lldb-dev <
lldb-dev@lists.llvm.org> wrote:

> I’m getting same error even if I debug on the same device.
>
> necktwi@pi:/home/necktwi/Workspace/RemoteDebugTest/build$ lldb-server-6.0
> platform --listen "*:1234" --server
> Connection established.
>
> necktwi@pi:/home/necktwi/Workspace/RemoteDebugTest/build$ lldb-6.0
> (lldb) platform select remote-linux
>   Platform: remote-linux
>  Connected: no
> (lldb) platform connect connect://localhost:1234
>   Platform: remote-linux
> OS Version: 4.9.78 (4.9.78-v7+)
> Kernel: #1084 SMP Thu Jan 25 18:05:49 GMT 2018
>   Hostname: pi.RemoteDebugTest.com
> 
>  Connected: yes
> WorkingDir: /home/necktwi/Workspace/RemoteDebugTest/build
> (lldb) file RemoteDebugTest
> Current executable set to 'RemoteDebugTest' (arm).
> (lldb) run
> error: process launch failed: Lost debug server connection
> (lldb)
>
> I think it’s a bug. I tried to sign up for bugs-ad...@lists.llvm.org but
> I didn’t get a reply though I’ve put a mail with my email-id and name.
>
> … NeckTwi
>
>
>
> ___
> lldb-dev mailing list
> lldb-dev@lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev
>
___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


Re: [lldb-dev] error: process launch failed: Lost debug server connection

2018-07-12 Thread NeckTwi via lldb-dev
I’m getting same error even if I debug on the same device.

necktwi@pi:/home/necktwi/Workspace/RemoteDebugTest/build$ lldb-server-6.0 
platform --listen "*:1234" --server
Connection established.

necktwi@pi:/home/necktwi/Workspace/RemoteDebugTest/build$ lldb-6.0 
(lldb) platform select remote-linux
  Platform: remote-linux
 Connected: no
(lldb) platform connect connect://localhost:1234
  Platform: remote-linux
OS Version: 4.9.78 (4.9.78-v7+)
Kernel: #1084 SMP Thu Jan 25 18:05:49 GMT 2018
  Hostname: pi.RemoteDebugTest.com
 Connected: yes
WorkingDir: /home/necktwi/Workspace/RemoteDebugTest/build
(lldb) file RemoteDebugTest
Current executable set to 'RemoteDebugTest' (arm).
(lldb) run
error: process launch failed: Lost debug server connection
(lldb) 

I think it’s a bug. I tried to sign up for bugs-ad...@lists.llvm.org 
 but I didn’t get a reply though I’ve put a 
mail with my email-id and name.

… NeckTwi



___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


Re: [lldb-dev] error: process launch failed: Lost debug server connection

2018-07-09 Thread Ted Woodward via lldb-dev
FYI - the color you picked for this makes it unreadable against a white 
background. I had to convert it to plain text to read it.

 

The error message “Lost debug server connection” occurs if the platform isn’t 
connected and it is not a host platform.

 

What do you get if you type “platform status” after “file Test”?

 

Is the remote-built executable available on your Mac? lldb will need it to be 
able to get symbols and debug info.

 

Ted

 

--

Qualcomm Innovation Center, Inc.

The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux 
Foundation Collaborative Project

 

From: lldb-dev [mailto:lldb-dev-boun...@lists.llvm.org] On Behalf Of NeckTwi 
via lldb-dev
Sent: Monday, July 09, 2018 1:27 PM
To: lldb-dev@lists.llvm.org
Subject: [lldb-dev] error: process launch failed: Lost debug server connection

 

I have started lldb-server on remote linux in the directory where my executable 
need to be debugged reside.

>From my Mac I started lldb, 

(lldb) platform select remote-linux

  Platform: remote-linux

 Connected: no

(lldb) platform connect connect://pi.local:9091

  Platform: remote-linux

OS Version: 4.9.78 (4.9.78-v7+)

Kernel: #1084 SMP Thu Jan 25 18:05:49 GMT 2018

  Hostname: pi

 Connected: yes

WorkingDir: /Users/necktwi/Workspace/RemoteDebugTest/build

(lldb) file Test

Current executable set to ’Test' (arm).

(lldb) run

error: process launch failed: Lost debug server connection

 

Why the process launch failing? The executable `Test` takes parameters `-s 
normal`. How to feed them in? Did the process failed because of not feeding its 
arguments?

 

https://lldb.llvm.org/remote.html 
<https://u7535577.ct.sendgrid.net/wf/click?upn=S8VPHvg5-2FzxqlLfWXPq42joHRevhhtk-2F7AY-2BEiccsimjZUugcpCB66JpJVXGiuJP_WMme76WnOQDuJvvro7-2FTNuvmvuA2PaJWS0FeALMc2HfRwekG2ZIQ8RWNZqpS5pNm3zr3KpG64KxYaYNpxNAsXcvN18I9mAz-2FHNm4s7diR-2FuSy6IXrEgk-2BY2n97MBEYS5iwkBIuCbKexARr-2B0xFagIjBzqGTtpVhCvyjyYqWd1dIOy7kIeyDUoBgnqzW9aw6Hw5oCr97h2unnh6TX8YfTyLjS8Z7i0RQXWDc49b1pNb0-3D>
  explains how to debug a cross-built local executable on remote platform. But 
I am trying to debug the executable which was built on the remote.

 

Thank you.

 

… neckTwi



___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


[lldb-dev] error: process launch failed: Lost debug server connection

2018-07-09 Thread NeckTwi via lldb-dev
I have started lldb-server on remote linux in the directory where my executable 
need to be debugged reside.
>From my Mac I started lldb, 
(lldb) platform select remote-linux
  Platform: remote-linux
 Connected: no
(lldb) platform connect connect://pi.local:9091
  Platform: remote-linux
OS Version: 4.9.78 (4.9.78-v7+)
Kernel: #1084 SMP Thu Jan 25 18:05:49 GMT 2018
  Hostname: pi
 Connected: yes
WorkingDir: /Users/necktwi/Workspace/RemoteDebugTest/build
(lldb) file Test
Current executable set to ’Test' (arm).
(lldb) run
error: process launch failed: Lost debug server connection

Why the process launch failing? The executable `Test` takes parameters `-s 
normal`. How to feed them in? Did the process failed because of not feeding its 
arguments?

https://u7535577.ct.sendgrid.net/wf/click?upn=S8VPHvg5-2FzxqlLfWXPq42joHRevhhtk-2F7AY-2BEiccsimjZUugcpCB66JpJVXGiuJP_WMme76WnOQDuJvvro7-2FTNuvmvuA2PaJWS0FeALMc2HfRwekG2ZIQ8RWNZqpS5pNm5v2Zz1wFFtnx6Ph3zF8iNSWWfX8y6rvHWddW8KrUL5AvBvSkqFsqlTN7GfMpLpfTH2Q3AxmF5s7MXNNfTlnqJoXzZNk6HlZgS1M2PO-2FSPNseN-2FY4InW-2FbXqxIeMksd1zoZxZsWErX67sHW3bH3-2B-2F4PmRDmbZyH8tDMB1b-2FtwY9U-3D
 

 explains how to debug a cross-built local executable on remote platform. But I 
am trying to debug the executable which was built on the remote.

Thank you.

… neckTwi___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev