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

Debugger does not disconnect after stopping it #995

Closed
3 tasks done
asereq opened this issue May 19, 2022 · 1 comment
Closed
3 tasks done

Debugger does not disconnect after stopping it #995

asereq opened this issue May 19, 2022 · 1 comment
Assignees
Labels
conclusion: resolved Issue was resolved topic: debugger Related to the integrated debugger type: imperfection Perceived defect in any part of project

Comments

@asereq
Copy link

asereq commented May 19, 2022

Describe the problem

After a debug session, the debugger not responds because it cannot disconnect.

To reproduce

  1. Start de IDE.
  2. Open an example (blink for example).
  3. Compile (verify) the code.
  4. Start the debugger (debugger runs correctly)
  5. Stop the debugger.
  6. De debugger does not run anymore.

Expected behavior

Debugger runs again without problems.

Arduino IDE version

Arduino IDE AppImage 2.0.0-rc6

Operating system

Linux

Operating system version

Arch Linux

Additional context

The IDE, running from command line, after step 5, says this:

root INFO [hosted-plugin: 102967] stopping debug adapter session: '7348c2ee-07f5-435f-9e11-1542d80fadc4'
root INFO [hosted-plugin: 102967] error in debug adapter session: '7348c2ee-07f5-435f-9e11-1542d80fadc4': {"code":"ERR_STREAM_WRITE_AFTER_END"}
root ERROR Error on disconnect

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details
@asereq asereq added the type: imperfection Perceived defect in any part of project label May 19, 2022
@per1234 per1234 added the topic: debugger Related to the integrated debugger label May 19, 2022
@kittaakos kittaakos self-assigned this May 20, 2022
@per1234 per1234 assigned per1234 and unassigned kittaakos Dec 2, 2022
@per1234
Copy link
Contributor

per1234 commented Dec 2, 2022

Thanks so much for your report @asereq. This bug was resolved by #1662 (I can reproduce it using the build from the previous commit 3ad6609 but not with the build for ac9cce1 or newer).

@per1234 per1234 closed this as completed Dec 2, 2022
@per1234 per1234 added the conclusion: resolved Issue was resolved label Dec 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: resolved Issue was resolved topic: debugger Related to the integrated debugger type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

3 participants