DEBUG live with IDE #1577
-
|
Hey everyone, Just wanted to say thanks for GP2040-CE — it's awesome.I have been making minor changes(mostly config changes) and flashing my builds to a controller to test. Works great so far. Now I'm trying to really understand how the code works under the hood. Is there a way to debug it live, like with breakpoints (on IDE), when the controller is plugged in? I've used the serial monitor for print logs, but I want to step through the code and see what's happening in real time. I'm using VSCode. Do I need a special debug probe? If you've set up debugging for GP2040-CE before, I'd love some tips or a quick rundown of how you did it. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
You can use something like the Raspberry Pi Debug Probe or a Pico to hook up a debugging environment. It can be a little limited, fyi, so you'll want to check out their documentation about how it all works. |
Beta Was this translation helpful? Give feedback.
-
|
@mikepparks Thanks for the quick reply! I’m using an assembled controller with everything already packaged, so I don’t have direct access to the board pins. But yeah, I’ll check it out —maybe it’s a good opportunity for me to learn! |
Beta Was this translation helpful? Give feedback.
You can use something like the Raspberry Pi Debug Probe or a Pico to hook up a debugging environment. It can be a little limited, fyi, so you'll want to check out their documentation about how it all works.