Simple avr_debug for Arduino?

Sysprogs forums Forums VisualGDB Simple avr_debug for Arduino?

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #36165
    arrow201
    Participant

    My go to micro is STM32, but there’s times I like to run up a Arduino project simply because if you get hold of a sensor, most likely there’s a library for it to quickly test it out. 🙂 It would be nice to be able to step through the code. I know there’s this tutorial:
    https://visualgdb.com/tutorials/arduino/avr/debug/
    …but this is quite involved, needing an external board, modding the target UNO, etc. Looking for something more simple, I noticed this is popular:
    https://github.com/jdolinay/avr_debug
    …but I’m having problems how to implement it in VisualGDB. I’m guessing you have to go to: Debug Settings and use “Custom GDB Stub” or “Full Custom Mode”? There’s also settings in “Embedded Debug Tweaking” ?
    I’ve seen it used with Visual Studio Code/PlatformIO and there’s another Visual Studio/Arduino product that uses it as well. So, i’m pretty sure it can be done and wondering if anybody has successfully got it working?

    Thanks.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.