What I mean by “frequent debugging” is that I might frequently want to print out variables and messages to check if things work as intended, even though printing them out doesn’t make sense when everything is complete. I think this is a standard practice.
I can get things to print the usual way:
BufferedSerial pc(USBTX, USBRX, 115200);
but bufferedserial doesn’t have the handy printf. You can imagine the sheer amount of pain to evaluate floats, integers etc. to strings and then cast them into char* so that in the end I can get them to print on the console. Is there any way to use printf to print out things fast so that I can meaningfully use it? I really need this.
I could have used the debugger for this purpose but because it’s not a complete app yet, most things are calculated, but not being used, so they are ‘optimized away’ and I can’t see their values when I open a debugging session.