ROBOTC for Arduino - Debugger Windows  

There are several different debugger windows that can be used when the ROBOTC debugger is open. The default windows are the Devices and Global Variables, which gives access to variables, motors, sensor, and timer statuses. Some of the windows are infrequently used but can be useful when needed. Debugging windows can be opened from the sub-menu shown in the following picture.

There are no restrictions on the number of debugger windows that can be simultaneously opened. However, each window does require the PC to “message” with the robot controller to refresh its data. The more windows that are open the more data transmission required for the refreshing activity.

ROBOTC has been optimized to minimize refresh times. Typically only one or two messages are required to refresh each window; this is valuable on the robot controllers that have a “slow” communications channel between the robot and the PC.

The number of available windows is also impacted by the “Menu Level” setting found on the “Window” sub-menu. "Basic" mode will have less menu options than "Expert" mode, which is shown above.

Basic Mode
- Global Variables
- Local Variables

- Timers
- Motors
- Sensors

- Joystick Control - Basic


Expert Mode
- Global Variables
- Local Variables
- Timers
- Motors
- Sensors

- Joystick Control - Basic
- System Parameters
- Debug Stream

Super User Mode
- Global Variables
- Local Variables

- Timers
- Motors
- Sensors

- Joystick Control - Basic
- Task Status
- Call Stack

- System Parameters
- Debug Stream


Copyright © 2012 Robotics Academy/Robomatter - http://robotc.net/