Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] Does remote debugging work for Generic Remote Interactive TSC?

Hi Hertusz,

 

I have just got “Remote Debug” working myself with Greg Watson’s help.

 

My experience indicates you will need two patches to get debug working for remote sync projects.

 

1)     You will need to patch your Luna 4.4.0 eclipse with this patch      https://git.eclipse.org/r/#/c/33611/

2)     You will need to patch the “Generic Remote Interactive” target configuration as per Greg Watson’s PTP users email on 3/20/2015

 

BTW I have also tried to Luna 4.4.2 but this version seems to have another problem with the debug stepping tools not being enabled, so I recommend using 4.4.1 and applying the patches.

 

(I am now using Version: Luna Service Release 1a (4.4.1) Build id: 20150109-06000 with the patches and it is working for me)

 

Mark

 

From: ptp-user-bounces@xxxxxxxxxxx [mailto:ptp-user-bounces@xxxxxxxxxxx] On Behalf Of Gábor Hertelendy
Sent: Tuesday, March 24, 2015 7:07 AM
To: ptp-user@xxxxxxxxxxx
Subject: [ptp-user] Does remote debugging work for Generic Remote Interactive TSC?

 

Hi PTP users,

I try to learn using synchronized projects in Eclipse.

I managed to build and run a classical "Hello_world" project.

I startde a remote debug session, but Eclipse hangs on these threads:

 

Submit-interactive-debug: 5%

Launching synchronized_hello …: Unpacking payload…

 

My environment:

- Editor machine (Eclipse is installed here)

 

Ubuntu 14.04.2 LTS

Linux 3.13.0-48-generic #80-Ubuntu SMP Thu Mar 12 11:16:15 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Eclipse IDE for C/C++ Developers, Version: Luna Release (4.4.0), Build id: 20140612-0600

Tools:

  Parallel Tools Platform

  PTP Remote Development Tools (RDT)

  Remote Services

  PTP SDM

the Project is synchronized using built-in SSH.

 

- Builder machine:

CentOS release 6.3 (Final)

Linux 2.6.32-504.8.1.el6.x86_64 #1 SMP Wed Jan 28 21:11:36 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

 

I use the same configuration for running and debugging.

Running part works. Debugging part does not.

Debugger: SDM

Stop at main()

backend: gdb-mi

Use built-in SDM

Advanced options:

  Session address: <real IPv4 address for my eclipse machine>

 

I checked network connectivity for sdm with nc. It is ok, I mean there is no any network issue.

 

 

So, what could be the missing part or problem?

 

Any help would be greatly appreciated.

 

Thank You in advance.

Hertusz


Back to the top