Go to Post only here would you find someone calling a motor cute.... - Denman [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 08-02-2010, 21:29
wrepavich wrepavich is offline
Registered User
FRC #1259
 
Join Date: Jan 2008
Location: Wisconsin
Posts: 1
wrepavich is an unknown quantity at this point
NetBeans Debugging

I am a mentor trying to help our programming team with NetBeans. When they try to debug the code, NetBeans either does not attach, or it only gives them the option to stop the process. It never hits a breakpoint. Also, once they select Debug Main Project, they cannot cancel the process and have to close NetBeans to kill it.

The process they follow is:
1. Build project
2. Set breakpoint(s)
3. Debug Main Project - wait for message to connect on port 2900
4. Attach Debugger on port 2900 - sometimes it seems to attach, sometimes it doesn't.

They are following the directions for debugging from the WPILib Java Getting Started book. Is there other documentation that will help?
Reply With Quote
  #2   Spotlight this post!  
Unread 09-02-2010, 07:14
charrisTTI charrisTTI is offline
Ramblin' Wreck
AKA: Charles Harris
FRC #0623
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2003
Location: Vienna, VA
Posts: 106
charrisTTI has a spectacular aura aboutcharrisTTI has a spectacular aura about
Send a message via AIM to charrisTTI
Re: NetBeans Debugging

Do you have the latest updates?

Are all IP addresses correct?

Is the firewall on the development PC turned off?

Is WIFI connection on the development PC turned off? I have seen this be a problem occassionaly.

Are you using a wired connection between cRIO, drivers station, and development pc? Wired eliminates any radio configuration issues.

Are there any error messages on the output display?

What example program are you using? Use a simple unmodified sample to make sure that you understand how the development environment works.

Are the enable/disable autonomous/operator control settings on the drivers station appropriate for the section of code you want to debug?

Chuck Harris
__________________
FRC 623 2003,2004,2005,2006,2007,2008, 2009, 2010, 2011
FRC 1900 2007
FVC 60 and 193 2006
FVC 3271 2007
FTC 226 and 369 2008, 2009, 2010, 2011
FTC 3806 2010
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Debugging FRC4ME Java 1 21-01-2010 00:16
Netbeans help please darkorbit Java 1 18-01-2010 21:36
Program C++ in NetBeans? camper365 Programming 7 17-01-2010 22:12
Help with NetBeans frcchile Java 4 13-01-2010 21:51
debugging help ringo115 Programming 1 15-02-2009 16:22


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

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