Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ptp-user] FW: debug on luna

Hi PTP users,

 

Well I have not had any luck yet. I have since tried setting up “remote sync C/C++” project to a local linux VM on my workstation but I still cannot get a debug session to work from eclipse (luna or mars).  I guess I do not understand why the debugger cannot startup and talk to the eclipse client like it does when I run the “kepler” version of eclipse.

 

Please help.

 

Thanks

mark

 

 

From: Koch, Mark PENC:EX
Sent: Monday, September 15, 2014 8:59 AM
To: PTP User list
Subject: RE: [ptp-user] debug on luna

 

Hi Greg,

 

Yes, I have also tried using the SDM that is automatically uploaded to the .eclipsesettings directory but the behavior is the same.

 

Is that what you mean by the built-in SDM?

 

Mark

 

From: ptp-user-bounces@xxxxxxxxxxx [mailto:ptp-user-bounces@xxxxxxxxxxx] On Behalf Of Greg Watson
Sent: Monday, September 15, 2014 6:04 AM
To: PTP User list
Subject: Re: [ptp-user] debug on luna

 

Hi Mark,

 

Why aren’t you using the built-in SDM? It seems like this could be the problem.

 

Greg

 

On Sep 9, 2014, at 8:12 PM, Koch, Mark PENC:EX <Mark.Koch@xxxxxxxxxxxxx> wrote:

 

Hi PTP-users,

 

Q: Does anyone know if remote debugging works on the Luna 4.4 release?

 

For a:

Remote Synchronized C/C++  project

TSC:     Remote-Generic-Interactive

 

Program: hello world example

 

Thanks

Mark

 

From: Koch, Mark PENC:EX 
Sent: Wednesday, September 03, 2014 1:51 PM
To: 'ptp-user@xxxxxxxxxxx'
Subject: looking for help to configure interactive debug on luna

 

Hi PTP users,

 

I have a question regarding Debug Configurations on the Luna release.

 

I am having difficulty setting-up a remote synchronized project for the “hello world.cpp” example in PTP. The problem I am running into is that when the debug configuration is launched, it hangs at the point “submit-interactive-debug” (35%) when it is “Submitting the job”.  I can see it has started an sdm process on the linux host but eclipse just waits and eventually times out. I do not have this problem running with the previous “kepler” release.

 

I have installed the latest versions of eclipse (luna 4.4) and SDM 8.01 (built on the remote linux system).

 

I am running eclipse on Windows 7 64 bit machine connecting to a x86 linux server (redhat 2.6.18-371.11.1.el5 )

 

Debug Configuration is:

Resources:

Target System Configuration: Remote-Generic-Interactive

Connection Type: Remote (set up to connect to linux host)

Application

  Project: hello

  Application program: <path>\hello.sh   (this shell just calls ./hello.exe)

Copy Executable from local filesystem – NO

Path to local executable – <none>

Display output from all processes in a console window – YES

Arguments

  Program Arguments – <none>

 Use default working directory – YES

Debugger

  Debugger – SDM

Stop at main() on startup – YES

Debugger Backend – gdb-mi

Use built-in SDM if available for the target platform – NO

Path to SDM execuatbale  <path to sdm>/sdm

Advanced Options

  Use default session Address – YES

      Session Address – localhost

      Path to gdb executable - <none>

 

Environment - <none>

Synchronize - <none>

Source - <none>

Common - <none>

 

 

Any help would be greatly appreciated.

 

Thanks

 

 

_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ptp-user

 


Back to the top