View unanswered posts | View active topics It is currently Tue Sep 02, 2014 3:42 am






Reply to topic  [ 3 posts ] 
How to inspect variable(s) state 
Author Message
Rookie

Joined: Wed Nov 14, 2007 1:44 pm
Posts: 10
Post How to inspect variable(s) state
Hi,

Not sure if I'm missing the obvious. Appreciate some help here. Is there any way for me to inspect the values that variables represent at the time of debugging? I know I can print them on the NXT window but thought it could/should be possible to see the data on the IDE.

Thanks for your help. Regards,
KK


Wed Nov 21, 2007 1:21 pm
Profile
Moderator
Moderator
User avatar

Joined: Wed Jan 31, 2007 3:39 am
Posts: 299
Location: San Diego, California. USA
Post 
Hey KK

There is something you can use to view the variables durring debugging. After you compile and download a program to the NXT and while the debug is on, go to robot/Debugger Windows in the upper menu. There is a list of debugger tools that become available only while the debugger is running. These tools will let you view data being poled directly from the NXT. If you select Global Variables, it will have a window with all the variabled declared in your program. You can also change variables values from this window while the NXT is running. There are also tools that emulate the NXT display and read the motor encoder values :-)

Here you go, enjoy B-)

Scott

_________________
Mmmm Legos B-)

My Robot Projects:
http://www.freewebs.com/robotprojects/


Wed Nov 21, 2007 1:45 pm
Profile WWW
Rookie

Joined: Wed Nov 14, 2007 1:44 pm
Posts: 10
Post 
Thanks. This is great! Just what I was hoping for. Most appreciated.


Thu Nov 22, 2007 11:56 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.