We are pleased to announce a huge update for PlatformIO IDE for VSCode which brings a new polished and modern user interface for PIO Unified Debugger. You can’t imagine but with PIO Unified Debugger you don’t need to know how to prepare your hardware for debugging. Other IDEs require to prefill a lot of debugging settings, install special software which can differ between development boards, read long tutorials…
PIO Unified Debugger is the unique solution on the market. Just a “1-click” on “Debug” button and VSCode will be magically converted from a text editor to a powerful development environment with the rich debugging instruments:
Conditional Breakpoints
Expressions and Watchpoints
Generic Registers
Peripheral Registers
Memory Viewer
Disassembly
Multi-thread support
A hot restart of an active debugging session
PIO Unified Debugger works on Windows, macOS, Linux and supports more than 200+ different boards and the most popular architectures, such as ARM, Espressif 32, RISC-V, and MSP430.
You can easily switch between different architectures, MCUs, boards, operation systems and keep the same workflow.
Debugging doesn’t seem to work without being logged into PIO. If I try to log in a message briefly pops up saying “Account: Bad Credentials”. Am I missing something?
Hi, I’ve been trying to configure a custom board debugging using the Unified Debugger, but I couldn’t find any documentation to this regard online. Maybe somebody could help me out with how to set up everything to work…?
So basically I’ve got a custom board which based on the atmega328p AVR chip, I’m using the Arduino framework, but without a bootloader, and the chip runs on 12Mhz. I have a custom board configuration for it in PlatformIO, building and uploading works, only I would need to also have debugging available. For this purpose I have an Atmel ICE debugger, and would want to use the debugWire interface as it’s the only option available on this chip. Also I’m using a MAC with VSCode and PlatformIO plugin with an active license.
I’ve seen that PlatformIO uses GDB underneath, so I think there should be a possibility to actually configure the debugger to run, instead of importing the whole project into Atmel Studio for debugging (which is a real hustle).
I’ve just checked and it works for me. Please share your platformio.ini and check errors in VSCode > Help > Toggle Developer Tools > Console. Please share them here. Thanks!
I really like the idea of PIO debugger. I understand that it can massively help with debugging runtime issues with Arduino code. In my case (automation/ceiling at master · ian7/automation · GitHub) I have a test suite that I’m running natively on Windows with use of FakeArduino and Unity. Is there any way I can use PIO debugger to debug my native tests?
cheers