Not planned
Description
Describe the problem
When I compile and upload any code, while the Serial Monitor is open, it doesn't pause the Serial Monitor when it is uploading.(unlike the old IDE)
So i get an exception that "COM3" can't be opened.
To reproduce
Upload any kind of Code to a Nodemcu Module while the Serial Monitor is opened.
Expected behavior
The esptool.py throws an exception.
Arduino IDE version
2.0.0 rc 9.1
Operating system
Windows
Operating system version
10
Additional context
No response
Issue checklist
- I searched for previous reports in the issue trackerI verified the problem still occurs when using the latest nightly buildMy report contains all necessary details
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
per1234 commentedon Aug 6, 2022
Hi @LuisThe0ne. Thanks for taking the time to submit an issue.
I see we have another report about this at #1278, which was already fixed by #1279.
The fix is in the latest nightly build of the Arduino IDE 2.x. You can download the nightly build from the links listed here:
https://www.arduino.cc/en/software#nightly-builds
In the future, please make sure to check whether the issue still occurs when using the nightly build before submitting issues in order to avoid reporting bugs that were already resolved.
penfold42 commentedon Sep 30, 2022
It appears there's a regression in the last couple of months.
downloaded the latest nightly today:
With serial monitor closed upload works fine.
With it open:
per1234 commentedon Sep 30, 2022
Hi @penfold42. Which board do you have selected in the Arduino IDE?
penfold42 commentedon Sep 30, 2022
Arduino Nano - its on COM23.