Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Target Management » Remote Debugging
Remote Debugging [message #564999] Thu, 09 November 2006 16:27
George is currently offline GeorgeFriend
Messages: 7
Registered: July 2009
Junior Member
Hi,

apologies if I am not posting in the correct forum.

I am using eclipse 3.2.1 with CDT 3.1.1 and RSE SDK 1.0RC4
I am running on a windows XP and my remote target is a Linux Suse 9.3.

I can setup targets to the linux box and check the processes running there
and create shells. I can do it this with both ssh and dstore.
I can run my application on the target without problems when I hit the run
button.
The problem I have is with debugging when I launch the debugger it starts
a new process with gdbserver on the remote target and starts listening on
port 2345. see below:
----------------------------------------
sh

/home/uklvasg>
gdbserver :2345 /usr/rhp/eclipse/vision/VisionTest;exit
Process /usr/rhp/eclipse/vision/VisionTest created; pid = 15931
Listening on port 2345
/home/uklvasg>
Remote debugging from host 130.141.105.235
---------------------------------------

After 2 seconds I get an error message box saying
Target selection failed
Target is not responding (timed out)

I have tried to increase the wait time of the debugger but no difference.
I also checked that the process and gdb are running fine on the target
waiting for commands on the port 2345.

I have now run out of ideas and don't know how to get it working.
I would appreciate any help.

Thanks
George

PS. I list the .log related entries below

-----------------------------------------------------

!ENTRY org.eclipse.cdt.debug.mi.core 4 150 2006-11-09 16:26:20.316
!MESSAGE Target selection failed.
!STACK 0
org.eclipse.cdt.debug.mi.core.MIException: Target is not responding (timed
out)
at
org.eclipse.cdt.debug.mi.core.MISession.postCommand0(MISessi on.java:601)
at org.eclipse.cdt.debug.mi.core.MISession.postCommand(MISessio n.java:567)
at
org.eclipse.cdt.debug.mi.core.GDBServerCDIDebugger2.startGDB ServerSession(GDBServerCDIDebugger2.java:100)
at
org.eclipse.cdt.debug.mi.core.GDBServerCDIDebugger2.doStartS ession(GDBServerCDIDebugger2.java:43)
at
org.eclipse.cdt.debug.mi.core.AbstractGDBCDIDebugger.createS ession(AbstractGDBCDIDebugger.java:79)
at
org.eclipse.rse.remotecdt.RemoteRunLaunchDelegate.launch(Rem oteRunLaunchDelegate.java:111)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:639)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:565)
at
org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(D ebugUIPlugin.java:754)
at
org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlu gin.java:944)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
!SUBENTRY 1 org.eclipse.cdt.debug.mi.core 4 150 2006-11-09 16:26:20.316
!MESSAGE Target is not responding (timed out)
!STACK 0
org.eclipse.cdt.debug.mi.core.MIException: Target is not responding (timed
out)
at
org.eclipse.cdt.debug.mi.core.MISession.postCommand0(MISessi on.java:601)
at org.eclipse.cdt.debug.mi.core.MISession.postCommand(MISessio n.java:567)
at
org.eclipse.cdt.debug.mi.core.GDBServerCDIDebugger2.startGDB ServerSession(GDBServerCDIDebugger2.java:100)
at
org.eclipse.cdt.debug.mi.core.GDBServerCDIDebugger2.doStartS ession(GDBServerCDIDebugger2.java:43)
at
org.eclipse.cdt.debug.mi.core.AbstractGDBCDIDebugger.createS ession(AbstractGDBCDIDebugger.java:79)
at
org.eclipse.rse.remotecdt.RemoteRunLaunchDelegate.launch(Rem oteRunLaunchDelegate.java:111)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:639)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:565)
at
org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(D ebugUIPlugin.java:754)
at
org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlu gin.java:944)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)

!ENTRY org.eclipse.rse.ui 1 0 2006-11-09 16:26:20.676
!MESSAGE RESOURCE CHANGED EVENT: eventType=POST_CHANGE,
eventSource=org.eclipse.core.internal.resources.Workspace@1325aef

!ENTRY org.eclipse.rse.ui 1 0 2006-11-09 16:26:20.676
!MESSAGE ...In preScanForIgnore. Kind = CHANGED

!ENTRY org.eclipse.rse.ui 1 0 2006-11-09 16:26:20.691
!MESSAGE ......resource is: vision, type is: project

!ENTRY org.eclipse.rse.ui 1 0 2006-11-09 16:26:20.691
!MESSAGE ......flags == 0

!ENTRY org.eclipse.rse.ui 1 0 2006-11-09 16:26:20.707
!MESSAGE EVENT FILTERED OUT IN PRESCAN
-------------------------------------------------------
Previous Topic:SSH Linux Remote Project Save
Next Topic:Remote Debugging
Goto Forum:
  


Current Time: Thu Dec 18 02:37:19 GMT 2014

Powered by FUDForum. Page generated in 0.08267 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software