Remote Debugging over VPN [message #251387] |
Wed, 13 February 2008 16:36  |
Eclipse User |
|
|
|
Originally posted by: goginenip.yahoo.com
Hi
Im seeing a weird problem when remote debugging a processing running on my
linux box when Im on VPN - the same works perfectly well when Im connected
to the network at work.
The client where eclipse is running is windows. The weird thing is very
rarely the remote debugger connects to the remote process but I havent
been able to figure out when or why.
Even when eclipse reports "could not connect to remote process" doing an
lsof on the remote machine shows that there is a connection estabilished
with my laptop.
netstat on the laptop shows the same.
I see the error below in the log file - any help/pointers will be greatly
appreciated. NOTE Im on Eclipse 3.2
Thanks
Pratima
!ENTRY org.eclipse.jdt.launching 4 113 2008-02-13 13:14:59.715
!MESSAGE Failed to connect to remote VM. Connection timed out.
!STACK 0
org.eclipse.jdi.TimeoutException: Timeout occurred while waiting for
packet 548.
at
org.eclipse.jdi.internal.connect.PacketReceiveManager.getRep ly(PacketReceiveManager.java:168)
at
org.eclipse.jdi.internal.connect.PacketReceiveManager.getRep ly(PacketReceiveManager.java:177)
at org.eclipse.jdi.internal.MirrorImpl.requestVM(MirrorImpl.jav a:174)
at org.eclipse.jdi.internal.MirrorImpl.requestVM(MirrorImpl.jav a:230)
at
org.eclipse.jdi.internal.VirtualMachineImpl.allClasses(Virtu alMachineImpl.java:348)
at
org.eclipse.jdi.internal.VirtualMachineImpl.allRefTypes(Virt ualMachineImpl.java:375)
at
org.eclipse.jdi.internal.ReferenceTypeImpl.nestedTypes(Refer enceTypeImpl.java:1098)
at
org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoi nt.addToTargetForLocalType(JavaBreakpoint.java:556)
at
org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoi nt.createRequests(JavaBreakpoint.java:533)
at
org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoi nt.addToTarget(JavaBreakpoint.java:491)
at
org.eclipse.jdt.internal.debug.core.breakpoints.JavaLineBrea kpoint.addToTarget(JavaLineBreakpoint.java:168)
at
org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget.bre akpointAdded(JDIDebugTarget.java:1125)
at
org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget.ini tializeBreakpoints(JDIDebugTarget.java:438)
at
org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget.ini tialize(JDIDebugTarget.java:387)
at
org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget.<init >(JDIDebugTarget.java:261)
at org.eclipse.jdt.debug.core.JDIDebugModel$1.run(JDIDebugModel .java:159)
at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1737)
at
org.eclipse.jdt.debug.core.JDIDebugModel.newDebugTarget(JDID ebugModel.java:163)
at
org.eclipse.jdt.debug.core.JDIDebugModel.newDebugTarget(JDID ebugModel.java:123)
at
org.eclipse.jdt.internal.launching.SocketAttachConnector.con nect(SocketAttachConnector.java:141)
at
org.eclipse.jdt.internal.launching.JavaRemoteApplicationLaun chConfigurationDelegate.launch(JavaRemoteApplicationLaunchCo nfigurationDelegate.java:79)
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)
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03658 seconds