feature in the Arduino IDE ?
I am trying to figure out where a program is going wrong and I have been doing it by putting print commands in various spots so I can take a look at some variables.
A program trace would be handy as I have used them with other languages.
thanks
If you are talking about being able to step through the code on an Arduino for debugging purposes I do not know of any way to do it. Normally if the code loads error free it runs but as you likely know that isn't the case. Most do what you are doing using print statements and watch the serial monitor. Anyway I don't know of any step interface.
Ron
“ feature in the Arduino IDE ?”
No such thing.
I've never tried it, but supposedly you can debug with step, breakpoint, etc on the Microsoft Visual Studio IDE.
SteveMann:
I've never tried it, but supposedly you can debug with step, breakpoint, etc on the Microsoft Visual Studio IDE.
That only seems to work for certain boards; SAM based by the looks of it.