How Improve Arduino Debugging ?
by JoaoLopesF in Circuits > Arduino
88 Views, 0 Favorites, 0 Comments
How Improve Arduino Debugging ?
![SerialDebug library for Arduino](/proxy/?url=https://content.instructables.com/FPP/ZWIB/JMKVCSPZ/FPPZWIBJMKVCSPZ.jpg&filename=SerialDebug library for Arduino)
![SerialDebugApp - Improved serial monitor to Arduino and SerialDebug library](/proxy/?url=https://content.instructables.com/F27/NB3A/JNOVI4T6/F27NB3AJNOVI4T6.jpg&filename=SerialDebugApp - Improved serial monitor to Arduino and SerialDebug library)
![Arduino: SerialDebugApp update: see global variables changing on screen](/proxy/?url=https://content.instructables.com/FHO/JQHQ/JNOVI4TD/FHOJQHQJNOVI4TD.jpg&filename=Arduino: SerialDebugApp update: see global variables changing on screen)
Improving debugging for the Arduino
Modern development platforms, such as Android and iOS, has debug output with levels (verbose, debug,...).
ESP-IDF, the native SDK for ESP32, have it too.
Why levels on debug messages is important?
Why do they allow you to set a level of each message, according to its importance, and it helps to filter important messages.
Why do not we have this for the Arduino?
This motivated me to make a library for the Arduino.
How to improve this?
SerialDebug library, which improve debugging for Arduino, with levels and more.
Improved serial debugging to Arduino, with debug levels and simple software debugger,
to see/change global variables, to add watch for these variables, or call a function, in runtime, using serial monitor or SerialDebugApp.
Watch the videos and see the features of this library,
and the desktop app SerialDebugApp.