Skip to content

Debugger does not disconnect after stopping it #995

Closed
@asereq

Description

@asereq

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions