Skip to content

Language Server crashes on Windows after code upload and related board COM port re-assignment #13

Closed
@rsora

Description

@rsora

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:

  1. Connect a MKR1010 (or any other SAMD board) and select the board in the board selector drop down
  2. Open a sketch
  3. Press upload
  4. See error after the board changes its COM port

Expected behavior
LS should not crash

Screenshots
screencast

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions