Go to Post We use the engines of our imagination on the robot all the time. FIRST being an engine of change after all. - Mark McLeod [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
  #16   Spotlight this post!  
Unread 11-10-2011, 21:13
Kovs's Avatar
Kovs Kovs is offline
Registered User
FRC #1259 (Paradigm Shift)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Pewaukee, Wisconsin
Posts: 19
Kovs will become famous soon enough
Re: Debugging Techniques

I do not know if this will solve your problem, but for me the cRIO will only outputs to the compiler or debugs if it has a static ip address. (Windows has a dynamic ip address by default) When using a dynamic ip address, our computers never get past the "Waiting for cRIO to reboot (##s)"

Info on setting up static ip address

You should set your ip address to: 10.XX.YY.ZZ
(XX.YY is team number [123 -> 01.23] ; change ZZ so that no two computers on the network share the same address)
Reply With Quote
  #17   Spotlight this post!  
Unread 19-10-2011, 01:43
twiggzee twiggzee is offline
Registered User
FRC #3502 (Octo-(PI)-Rates)
Team Role: Mentor
 
Join Date: Mar 2011
Rookie Year: 2011
Location: Tallahassee, FL
Posts: 55
twiggzee is an unknown quantity at this point
Re: Debugging Techniques

we have been able to deploy code so that means our ip address should be set up correctly. also, as i mentioned i CAN run the debugger via an ethernet cable, just not wirelessly.

i was watching the java 101 kickoff workshop video recently (posted on the first website) and in the powerpoint presentation, the speaker mentioned that they were having problems getting the wireless debugger to work. maybe it's an issue with first that's not been solved yet??
__________________
Wendy
Team 3502
Reply With Quote
  #18   Spotlight this post!  
Unread 19-10-2011, 18:27
Kovs's Avatar
Kovs Kovs is offline
Registered User
FRC #1259 (Paradigm Shift)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Pewaukee, Wisconsin
Posts: 19
Kovs will become famous soon enough
Re: Debugging Techniques

Quote:
Originally Posted by twiggzee View Post
we have been able to deploy code so that means our ip address should be set up correctly. also, as i mentioned i CAN run the debugger via an ethernet cable, just not wirelessly.
I guess I wasn't clear on what I was saying for what happens (at least for me) when using wireless: You can still deploy with a dynamic ip address, but you need a static ip address for println() and debugging.
Reply With Quote
  #19   Spotlight this post!  
Unread 19-10-2011, 18:41
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Debugging Techniques

Quote:
Originally Posted by Kovs View Post
You can still deploy with a dynamic ip address, but you need a static ip address for println() and debugging.
I'm not sure what you are basing this claim on, but it's not accurate. It is the case that for debugging you need to configure the IP address (regardless of how it is assigned) in the target connection to debug.

-Joe
Reply With Quote
  #20   Spotlight this post!  
Unread 20-10-2011, 19:45
Kovs's Avatar
Kovs Kovs is offline
Registered User
FRC #1259 (Paradigm Shift)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Pewaukee, Wisconsin
Posts: 19
Kovs will become famous soon enough
Re: Debugging Techniques

Quote:
Originally Posted by jhersh View Post
I'm not sure what you are basing this claim on
As I said in my posts: from my own experience deploying/debugging.

Quote:
Originally Posted by jhersh View Post
It is the case that for debugging you need to configure the IP address (regardless of how it is assigned) in the target connection to debug.
Could you please explain this more completely? (Specifically how to do this without a static ip address)
Reply With Quote
  #21   Spotlight this post!  
Unread 20-10-2011, 19:52
~Cory~'s Avatar
~Cory~ ~Cory~ is offline
Student
AKA: Cory Rypkema
FRC #0706
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Worcester MA
Posts: 216
~Cory~ is a splendid one to behold~Cory~ is a splendid one to behold~Cory~ is a splendid one to behold~Cory~ is a splendid one to behold~Cory~ is a splendid one to behold~Cory~ is a splendid one to behold~Cory~ is a splendid one to behold
Re: Debugging Techniques

Our wireless solution is a 100 foot Ethernet cable.
__________________
corin.rypkema.org
WPI Class of '17
'12 Dean's List Finalist, Mentor of 706 - Cyberhawks
Reply With Quote
  #22   Spotlight this post!  
Unread 21-10-2011, 20:07
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Debugging Techniques

Quote:
Originally Posted by Kovs View Post
Could you please explain this more completely? (Specifically how to do this without a static ip address)
NetConsole (the basis of prints) broadcasts, so the IP doesn't matter.
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 13:06.

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