Closed
Description
Describe the problem
After a debug session, the debugger not responds because it cannot disconnect.
To reproduce
- Start de IDE.
- Open an example (blink for example).
- Compile (verify) the code.
- Start the debugger (debugger runs correctly)
- Stop the debugger.
- 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