Closed
Description
Describe the bug
On windows, uploading code on an arduino:samd
board like the MKR1010, I see an error popup from the language server after the upload, probably caused by multiple restarts of the LS triggered by a COM port change for the board (please see the entire screencast)
To Reproduce
Steps to reproduce the behavior:
- Connect a MKR1010 (or any other SAMD board) and select the board in the board selector drop down
- Open a sketch
- Press upload
- See error after the board changes its COM port
Expected behavior
LS should not crash
Desktop (please complete the following information):
- OS: Windows 10
- Version: 2.0.0-beta.1-snapshot.9e35571
- Date: 2021-02-12T08:28:48.914Z
- CLI Version: nightly-20210212 alpha [560025a6]
Additional context
@cmaglie could you please double check the LS logs attached to the issue and verify if there could be issues also in the Language Server?
sketch_feb12a.zip