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.SocketAttachConnector.abort(SocketAttachConnector.java:98)
at org.eclipse.jdt.internal.launching.SocketAttachConnector.connect(SocketAttachConnector.java:155)
at org.eclipse.jdt.internal.launching.JavaRemoteApplicationLaunchConfigurationDelegate.launch(JavaRemoteApplicationLaunchConfigurationDelegate.java:85)
…
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at org.eclipse.jdi.internal.connect.SocketTransportService$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(Unknown 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.SocketTransportService$2.run(SocketTransportService.java:148)
at java.lang.Thread.run(Unknown Source)