View unanswered posts | View active topics It is currently Thu Nov 26, 2015 4:36 pm

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

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

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,

Wed Nov 21, 2007 1:21 pm
User avatar

Joined: Wed Jan 31, 2007 3:39 am
Posts: 299
Location: San Diego, California. USA
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-)


Mmmm Legos B-)

My Robot Projects:

Wed Nov 21, 2007 1:45 pm
Profile WWW

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

Thu Nov 22, 2007 11:56 am
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.