neu-rah / ArduinoMenu

Arduino generic menu/interactivity system
GNU Lesser General Public License v2.1
929 stars 189 forks source link

Debug option #435

Open cemik1 opened 4 months ago

cemik1 commented 4 months ago

I try to solve https://github.com/neu-rah/ArduinoMenu/issues/414#issue-1655750179 issue on my own. I think debug option would help me. How could it be swith on? I uncommented

define MENU_DEBUG

options in menuDefs.h and menuBase.h headers and included steramFlow library. The project is compiled without any errors then but there ara not expected serial debug information messages. What else should be done to get them?

neu-rah commented 4 months ago

trace macros are defined here https://github.com/neu-rah/ArduinoMenu/blob/9ef1e267639140925add8a46dd8a12ec932d3b3d/src/menuDefs.h#L36

debug output example: https://github.com/neu-rah/ArduinoMenu/blob/9ef1e267639140925add8a46dd8a12ec932d3b3d/src/items.cpp#L95