Managing debugger libraries

I downloaded a library for use in a sketch, then I imported the header for it into the sketch. So now I need to know what this library contains (methods) so that I can use these methods in the sketch. So far I have seen very little documentation on how to use this library or a list of the methods that are contained in the library. More importantly, I don't think this is the debugger I'm looking for: I am looking for the serial interface debugger, but, so far, all I've found is a beta version of the serial debugger. If someone knows if that debugger even exists, please let me know where I can get it.
syd

If we knew what you were talking about we may be able to help. What library?

If there is no documentation then you need to dig into the source code .h and .cpp files to find out what the functions are and what arguments are expected.

There is a SerialDebug library in the library manager. I downloaded it and went to the above github site where the documentation was. This looked like an interesting tool since I wanted to fool around with why my Arduino won't talk via USB to a device. The library is pretty complicated but so far I can see that I have to embed code from this library into the sketch to use this debugger. Also, if you look at this link, you will find a SerialDebugApp! But as far as I can determine this is just a beta version. Too bad because it does look like it could be useful to troubleshoot this problem.
sydney

The library doesn't appear to use classes, and thus it has no methods, but you can see its function declarations and macros here:

There are also example sketches included with the library that demonstrate how to use it. you will find them in the Arduino IDE at File > Examples > SerialDebug after installing the library.

The readme also appears to provide quite a bit of documentation.

I think most of us just add Serial.println() calls at strategic points in our sketch, printing relevant data.

Yep

... as is the library,

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.