Having trouble using the debugger with UNO R4 WIFI

I've just got a brand new UNO R4 WIFI, and suddenly the Arduino IDE debugger has come to life. However I'm struggling to use it. I've managed to set breakpoints, and step through code, although it seems a little unpredictable - sometimes step over doesn't step to the next instruction but disappears into a print function somewhere - no idea why.
However my main question is - having stopped at a breakpoint, how to I look at the values of variables? Also, the Debug Console appears to allow me to type something, but I'm not sure what. I tried typing Help and got a huge amount of indigestible information. Can anyone point me at a comprehensive document on the IDE 2.3.4 debugger please (I tried https://docs.arduino.cc/tutorials/uno-r4-wifi/debugger/ but it really doesn't even scratch the surface.

The Arduino IDE only provides a UI for GNU GDB. However, I think it's true that the GUI is hard to see and use.

Search for "GNU GDB documentation" to find the official documentation. Or you can just search for "GNU GDB cheat sheet".

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