View Single Post
  #4   Spotlight this post!  
Unread 12-02-2011, 13:32
derekwhite's Avatar
derekwhite derekwhite is offline
Java Virtual Machine Hacker
no team (FIRST@Oracle)
Team Role: Programmer
 
Join Date: May 2009
Rookie Year: 2009
Location: Burlington, MA
Posts: 127
derekwhite is on a distinguished road
Re: NetBeans run stops but doesnt crash

In NetBeans, the "Run" command is not supposed to complete - the Run task is watching for output from your program (System.out.println(), etc.)

If your robot doesn't have any more output, then NetBeans will just sit there waiting.

If your robot is not moving, you can add some temporary println calls to see if:
- your robot initializes correctly - finishes constructors, etc.
- the robot changes to the disabled, autonomous, and teleop states.
- print the status of joystick buttons and axis values
- look for "watchdog" errors.
Reply With Quote