Go to Post If Amanda is 'old', I am beginning to feel like a fossil.... - Chris Fultz [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 30-01-2013, 15:42
shindigo shindigo is offline
Registered User
AKA: Mike Parker
FRC #0102
Team Role: Mentor
 
Join Date: Feb 2012
Rookie Year: 2009
Location: Somerville, NJ
Posts: 33
shindigo is an unknown quantity at this point
NetBeans Debugger not working this year?

The past two years we have been able to use the debugger in NetBeans to step through our Java code running on the Robot.

This year, we cannot get it to work.

We set a breakpoint and run in debug mode. Windows Firewall comes up asking us to verify the access. We click 'Allow', but NetBeans cannot connect to the process on the robot.

The error is something like "Connection Refused" - in the debug console.

Could someone else give this a try and let me know if you can get it to work?

We're using NetBeans 7.2.1 with the 2013.0.417 FRC Plugins. I know we have a 2013 cRIO image - I think it is the latest.

thanks - sh
Reply With Quote
  #2   Spotlight this post!  
Unread 01-02-2013, 01:10
Fauge7 Fauge7 is offline
Head programmer
FRC #3019 (firebird robotics)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Scottsdale
Posts: 195
Fauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to all
Re: NetBeans Debugger not working this year?

Yes, my team has the same problem, we got it working once, them ot stopped for no reason
Reply With Quote
  #3   Spotlight this post!  
Unread 02-02-2013, 17:02
kylevedder kylevedder is offline
Programmer
AKA: Kyle Vedder
FRC #0467 (Shrewsbury Colonials)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Massachusetts
Posts: 6
kylevedder is an unknown quantity at this point
Re: NetBeans Debugger not working this year?

For some reason, debugging only works when wired into the robot, not over wireless. Try plugging into the robot bridge with and ethernet cable.
Reply With Quote
  #4   Spotlight this post!  
Unread 11-02-2013, 12:52
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,561
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: NetBeans Debugger not working this year?

I could not get debugging to work during this year's beta test, and reported it. However, no one else complained about it, so I'm not sure if that means nobody debugs with netbeans, or that I was the only one with a problem.
Reply With Quote
  #5   Spotlight this post!  
Unread 11-02-2013, 15:26
Chiller Chiller is offline
Registered User
AKA: Connor Christie
FRC #4095 (RoXI Robotics)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 118
Chiller is on a distinguished road
Re: NetBeans Debugger not working this year?

It was working for me when I was on my laptop (using wireless, ip was set to 10.xx.yy.12, subnet was 255.0.0.0)... So idk why its not working for you all?
Reply With Quote
  #6   Spotlight this post!  
Unread 12-02-2013, 20:37
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 588
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: NetBeans Debugger not working this year?

I just tested the current release using these steps:

http://wpilib.screenstepslive.com/s/...-robot-program

Be sure to set a breakpoint at the beginning of the program before you attach the debugger. You should see it stop at the breakpoint line and you'll have control to single-step or the other debugger operations.

Please post if it doesn't work.

Brad
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
Reply With Quote
  #7   Spotlight this post!  
Unread 13-02-2013, 01:42
gixxy's Avatar
gixxy gixxy is offline
Programming and Arduino Mentor
AKA: Gustave Michel III
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2012
Location: Ruston, LA
Posts: 207
gixxy is on a distinguished road
Re: NetBeans Debugger not working this year?

We have gotten ours working several times from both Windows and Linux boxes, however in all cases the computer had to be tethered.
__________________
Programmer - A creature known for converting Caffeine into Code.
Studying Computer Science @ Louisiana Tech University
Associate Consultant @ Fenway Group

2012-13: 3946 - Head of Programming, Electrical and Web
2014 - 3468 - Programming Mentor
2015 - Present - Lurker
Reply With Quote
  #8   Spotlight this post!  
Unread 14-02-2013, 17:23
F22Rapture's Avatar
F22Rapture F22Rapture is offline
College Student, Mentor
AKA: Daniel A
FRC #3737 (4H Rotoraptors)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Goldsboro, NC
Posts: 476
F22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant future
Re: NetBeans Debugger not working this year?

Quote:
Originally Posted by Chiller View Post
It was working for me when I was on my laptop (using wireless, ip was set to 10.xx.yy.12, subnet was 255.0.0.0)... So idk why its not working for you all?
Subnet needs to be 255.255.255.0 for it to work, otherwise you will have no communication with that computer.
__________________
Research is what I’m doing when I don’t know what I’m doing.
- Wernher von Braun
Attending: Raleigh NC Regional
Reply With Quote
  #9   Spotlight this post!  
Unread 14-04-2013, 14:26
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,561
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: NetBeans Debugger not working this year?

Multiple people on my team tried to get the debugger running wirelessly, with no success. I just tried it tethered and it worked.
Reply With Quote
Reply


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 09:52.

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