Modification of installed core files breaks compilation #2547
Labels
topic: CLI
Related to Arduino CLI
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Describe the problem
When IDE is open, modifying installed core files (like
boards.txt
orprogrammers.txt
) leads to compilation not working with the following error logged in the console:The instance is no longer valid and needs to be reinitialized
To reproduce
Arduino15
folder on your OS https://support.arduino.cc/hc/en-us/articles/360018448279-Open-the-Arduino15-folderboard.txt
file relative to the board you selected (for Arduino Nano isArduino15/packages/arduino/hardware/avr/1.8.6
)board.txt
in any wayThe error
The instance is no longer valid and needs to be reinitialized
should appearExpected behavior
The compilation should proceed as expected as the IDE should handle the error silently.
Arduino IDE version
2.3.3
Operating system
macOS
Operating system version
15.0.1
Additional context
No response
Issue checklist
The text was updated successfully, but these errors were encountered: