I’ve been building & debugging Raspberry Pi Pico code using a Picoprobe setup (one Pico acting as the SWD debug probe) within PlatformIO and using the PIO debugger.
The development environment is:
PlatformIO Core: 5.1.0 VSC: 1.53.2 Host: macOS Mojave 10.14.6 Target: Pico RP2040 Debug: Picoprobe
I thought I’d try lldb rather than gdb, as the latter can be awkward under macOS. I’ve tried debugging a few simple projects. The PIO debugger seems to work ok but there are some issues with inspecting variables.
I realize that a formal full PIO support for Raspberry Pico may not happen for quite sometime but a makeshift debugging seems to be doable in the interim.
Has anyone else tried using PIO with the Pico? If so, any insights you’d like to share? Thanks.