platformio / platform-atmelavr

Atmel AVR: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/atmelavr
Apache License 2.0
140 stars 105 forks source link

Failed to launch GDB: .pioinit:13: Error in sourced command file: Remote replied unexpectedly to 'vMustReplyEmpty' #296

Open VitaliyGaliy opened 2 years ago

VitaliyGaliy commented 2 years ago

I've got this error. Everything is setup according to documentation.

main.cpp

include "Arduino.h"

include "avr8-stub.h"

include "app_api.h" // only needed with flash breakpoints

void setup() { // initialize GDB stub debug_init(); pinMode(LED_BUILTIN, OUTPUT); }

void loop() { breakpoint(); digitalWrite(LED_BUILTIN, HIGH); delay(1000); digitalWrite(LED_BUILTIN, LOW); delay(1000); }

Снимок экрана 2022-11-14 в 20 32 01 Снимок экрана 2022-11-14 в 20 33 02