Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Debugging Techniques (http://www.chiefdelphi.com/forums/showthread.php?t=89740)

Kovs 11-10-2011 21:13

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)

twiggzee 19-10-2011 01:43

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??

Kovs 19-10-2011 18:27

Re: Debugging Techniques
 
Quote:

Originally Posted by twiggzee (Post 1081734)
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.

jhersh 19-10-2011 18:41

Re: Debugging Techniques
 
Quote:

Originally Posted by Kovs (Post 1081819)
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

Kovs 20-10-2011 19:45

Re: Debugging Techniques
 
Quote:

Originally Posted by jhersh (Post 1081821)
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 (Post 1081821)
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)

~Cory~ 20-10-2011 19:52

Re: Debugging Techniques
 
Our wireless solution is a 100 foot Ethernet cable. :D

jhersh 21-10-2011 20:07

Re: Debugging Techniques
 
Quote:

Originally Posted by Kovs (Post 1081945)
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.


All times are GMT -5. The time now is 13:06.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi