"Start Debugging" button incorrectly disabled if board was pre-selected on IDE startup #2237
Closed
3 tasks done
Labels
conclusion: resolved
Issue was resolved
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Describe the problem
The board+port selection is associated with sketches. That board and port are automatically selected in Arduino IDE when the sketch is later opened.
On startup, Arduino IDE automatically opens the sketches that were open at the time the previous IDE session was exited.
🐛 If the board selection is the one produced by the IDE opening an existing sketch with an associated board, the "Start Debugging" button will be incorrectly disabled.
To reproduce
ⓘ This step is performed in order to associate the board+network port selection with a sketch that can be restored on IDE startup.
The saved sketches that were open during the previous session will be restored.
🐛 The button is disabled and a "Debug - No board selected" message appears on the toolbar.
Arduino IDE version
2.2.1
Operating system
Windows
Operating system version
11
Additional context
I bisected the regression to 69ae38e / #2165 (does not occur when using the build from the previous commit 9a6a457)
Workaround
After doing that, the "Start Debugging" button will work as expected.
Additional reports
Related
Issue checklist
The text was updated successfully, but these errors were encountered: