Go to Post you are going to gear that down right? Otherwise your robot will take about 10 minutes to reach its top speed of mach 2.6. - M. Hicken [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 12-01-2017, 01:13
mikewindlake mikewindlake is offline
Registered User
FRC #6421
 
Join Date: Dec 2016
Location: Wind Lake, Wi
Posts: 7
mikewindlake is an unknown quantity at this point
Debug As unable to attach

Hi

We are a rookie team and trying to use Java. Also new to Eclipse and Java. The latest image and JRE have been installed. The driver station and Dashboard work. The Run As works fine, the program downloads. But...

The Debug As will not work. I had this working for 2016 version (trying to get up to speed last year). This is happening on both of the computers so it must be something we've missed.

I've searched about but having found anything related. Help would be much appreciated.

The Error Log is

!ENTRY WPILib_Java_Robot_Development 1 0 2017-01-11 23:50:46.699
!MESSAGE Running ant file: C:\Users\WarriorBot\workspace\Getting Started\build.xml

!ENTRY WPILib_Java_Robot_Development 1 0 2017-01-11 23:50:46.704
!MESSAGE Targets: deploy, Mode: run

!ENTRY WPILib_Java_Robot_Development 1 0 2017-01-11 23:51:08.231
!MESSAGE Running ant file: C:\Users\WarriorBot\workspace\Getting Started\build.xml

!ENTRY WPILib_Java_Robot_Development 1 0 2017-01-11 23:51:08.238
!MESSAGE Targets: debug-deploy, Mode: debug

!ENTRY WPILib_Java_Robot_Development 1 0 2017-01-11 23:51:08.325
!MESSAGE {port=8348, hostname=roborio-6421-FRC.local}

!ENTRY WPILib_Java_Robot_Development 1 0 2017-01-11 23:51:08.333
!MESSAGE Attemping to attach debugger...

!ENTRY WPILib_Java_Robot_Development 4 0 2017-01-11 23:51:10.199
!MESSAGE Unable to attach debugger. 19 attempts remain - waiting 2 second(s) before retrying...

...

!ENTRY WPILib_Java_Robot_Development 1 0 2017-01-11 23:52:04.479
!MESSAGE Attemping to attach debugger...

!ENTRY WPILib_Java_Robot_Development 4 0 2017-01-11 23:52:05.492
!MESSAGE Unable to attach debugger. 1 attempts remain - waiting 2 second(s) before retrying...

!ENTRY WPILib_Java_Robot_Development 1 0 2017-01-11 23:52:07.502
!MESSAGE Attemping to attach debugger...

!ENTRY WPILib_Java_Robot_Development 4 0 2017-01-11 23:52:08.517
!MESSAGE Debug attach failed
!STACK 1
org.eclipse.core.runtime.CoreException: Failed to connect to remote VM. Connection refused.
at org.eclipse.jdt.internal.launching.SocketAttachCon nector.abort(SocketAttachConnector.java:98)
at org.eclipse.jdt.internal.launching.SocketAttachCon nector.connect(SocketAttachConnector.java:155)
at org.eclipse.jdt.internal.launching.JavaRemoteAppli cationLaunchConfigurationDelegate.launch(JavaRemot eApplicationLaunchConfigurationDelegate.java:85)
...
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at org.eclipse.jdi.internal.connect.SocketTransportSe rvice$2.run(SocketTransportService.java:148)
at java.lang.Thread.run(Unknown Source)
!SUBENTRY 1 org.eclipse.jdt.launching 4 113 2017-01-11 23:52:08.518
!MESSAGE Failed to connect to remote VM. Connection refused.
!STACK 0
java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Un known Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress( Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at org.eclipse.jdi.internal.connect.SocketTransportSe rvice$2.run(SocketTransportService.java:148)
at java.lang.Thread.run(Unknown Source)
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:43.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi