View unanswered posts | View active topics It is currently Sat Dec 16, 2017 10:34 pm






Reply to topic  [ 2 posts ] 
Debugging in RobotC 
Author Message
Rookie

Joined: Wed Mar 02, 2016 10:49 am
Posts: 1
Post Debugging in RobotC
I started using RobotC this past year. Last week, I purchased the programming hardware kit http://www.vexrobotics.com/vexedr/produ ... -2186.html
and did some experimental debugging.
Someone asked about debugging on the VEX Forum http://www.vexforum.com/index.php/18148 ... -in-robotc and I added my question but no one has answered yet.

My question is - in RobotC - can I set breakpoints and go to the breakpoint and step through the code one line at a time and check the value(s) in the variables as I step through each line (similar to a Microsoft Visual Studio IDE)?
Thank you.


Wed Mar 02, 2016 11:01 am
Profile
Rookie

Joined: Thu Feb 18, 2016 11:01 am
Posts: 5
Post Re: Debugging in RobotC
Of course! Check the debugger windows under 'Robot' from the main drop-down menu.

In order to add a break point, just right-click on the gray bar to the left of your (text-based) code. Keep in mind that any commands that start motors will continue to run those motors during a break.


Wed Mar 02, 2016 5:47 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 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.