Closed
Description
Describe the bug
The discovery tools are used to detect changes to the serial and network ports.
On the first run of the IDE, these tools never run, so new ports are not discovered and old ports continue to be listed even after disconnection.
To Reproduce
- Quit the IDE if it is running.
- Delete the configuration folder (simulating a fresh install):
C:\Users\<user name>\AppData\Roaming\arduino-ide\
- Start the Arduino IDE.
- Open Windows Task Manager (Ctrl+Shift+Esc)
- Expand the "Arduino IDE" process tree.
🐛 Note thatmdns-discovery.exe
is not running.
🐛 Note thatserial-discovery.exe
is not running. - Connect an Arduino board to your computer.
🐛 Note that the board is not discovered. - Select File > Quit from the Arduino IDE menus.
- Start the Arduino IDE.
- Expand the "Arduino IDE" process tree in Task Manager.
🙂 Note thatmdns-discovery.exe
is now running.
🙂 Note thatserial-discovery.exe
is now running.
Expected behavior
Discoveries run on first start up.
Desktop
- OS: Windows 10
- Version: 2.0.0-rc1-snapshot.767b09d
Date: 2021-12-07T16:40:38.636Z
CLI Version: 0.20.1 [abb21449]