"Optimize for Debugging" state indicator doesn't change from disabled #1212
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 "Optimize for Debugging" item in the Arduino IDE's "Sketch" menu toggles the state of the
arduino.compile.optimizeForDebug
setting. The current state of the setting is indicated by the presence or absence of a ✓ at the left side of the menu item:🐛 If the setting was disabled (the default state) when the Arduino IDE window was opened, the ✓ indicator will not appear when the setting is enabled.
To reproduce
Set up
Steps
🐛 There is no ✓ indicator next to the "Optimize for Debugging" menu item, even though the setting is enabled:
Expected behavior
State of the
arduino.compile.optimizeForDebug
setting is always indicated in the "Sketch" menu.Arduino IDE version
2.0.0-rc8-snapshot-5ff9ce0
Operating system
Windows
Operating system version
10
Additional context
I bisected the introduction of the issue to 8ad10b5 (it does not occur when using the build for fe31d15)
I verified that the Sketch > Optimize for Debugging menu item is changing the
arduino.compile.optimizeForDebug
setting even when the indicator is not working.Issue checklist
The text was updated successfully, but these errors were encountered: