IDE 8017 debugging question

Hello everyone,

When in Debug mode in the IDE, how do you get the variables window to fill in the values when you step through your program. The ‘Variables’ window fills in the name of the variables, but when I step through a program none of the values get filled in. What am I doing wrong?

Older Dell laptop with one REAL serial port
Atom Pro
IDE ver 8.0.1.7

Thanks,
Duane

Enable auto updating. The last button on the right side of the debug toolbar. This will slow down how fast you can animate through your program because it will be sending the current state of all the variables on screen back to the PC instead of just teh current program line.

Gotcha!

Thanks. I’ll check it out when I get home.

Duane

The Variables window sounded/looked like a good idea, but it sounds like just using debug statements works better.

Duane

For me I found that being in debug mode, changed the timings sufficiently, so most of the time I would do simpler serout commands of variables that I am interested in to either S_OUT or to an LCD. Other times I would use the LEDs on the ABB to help debug (turn on one if I make it there…)

Kurt

Understand. I’ll dig out a 20x4 LDC that I have and go from there.

Thanks

It really comes down to what works best for you. In timing critical situations I’ll use serout through the S_OUT pin. If I just need to know a variable is getting set the way I expect I’ll run the debugger and check it. The debuger is great for making sure the flow of your program is working as expected, but alot of times you need the actual real time speed to do something. Thats where using serout or an LCD or just an LED can be the best)or even only) option.