Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
VitaliyGaliy opened this issue Nov 14, 2022 · 0 comments

Comments

@VitaliyGaliy
Copy link

VitaliyGaliy commented Nov 14, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant