-->
Page 1 of 1

arduinocc debbugger

PostPosted: Fri Sep 30, 2016 4:09 am
by Oldbod
Hi. Apologies if this is covered in other places but i'm new to c++ and though i can compile load run a program i'm finding following code very timeconsuming due to my inexperience. Normally i'd turn to a debugger or stick in a lot of print statements. Debugger being first choice, thought i'd ask if there is one which is recommended for this environment please?


Thanks very much!

Re: arduinocc debbugger

PostPosted: Sat Oct 01, 2016 6:56 pm
by theenggprojects
When you are using Arduino, then Arduino Serial Monitor is your best debugger. You can print variables on your Serial debugger and can also print anything to check whether its working or not.
    You can use it from Tools and then Serial Monitor.

Re: arduinocc debbugger

PostPosted: Mon Oct 03, 2016 3:58 pm
by Oldbod
Hi and thanks for coming back on this, I'd sort of assumed I'd posted a silly question or in the wrong place.

I wonder if there's a simpler way of doing it than manually inserting print statments. I was hoping that there might be an automated way to do this, highlight bits of code and the debugger temporarily inserts relevant monitoring prints or somesuch.maybe I'll try and knock something together, but probably less effort to read more carefully and think a bit more!

Thanks again for your help, now I know I'm not missing an easy solution!