Description
Describe the problem
Hi,
When core is not installed in the default location:
c:\Users\<username>\AppData\Local\Arduino15
debug cannot launched properly with error:
Error getting Debug info: Unknown FQBN: platform arduino:samd is not installed while it is
Example with official SAMD core:
It seems the arduino-cli.yaml available in the default location is ignored by the debug feature. Anyway copying this file next to the Arduino IDE binary solve the issue.
Note:
- Build and upload works properly.
To reproduce
Precondition:
Having no SAMD core installed in the default location else it works as it uses the one in the default location instead
of the one in the specified directory.
1 - Change the default install location in the c:\Users\<username>\.arduinoIDE\arduino-cli.yaml
ex:
- data: c:\Users\<username>\AppData\Local\Arduino15
- downloads: C:\Users\<username>\AppData\Local\Arduino15\staging
+ data: C:\IDE\portable4ide
+ downloads: C:\IDE\portable4ide\staging
2- Launch Arduino IDE
3- Install SAMD core
4- Build a sketch
5- Try to debug, then you got the issue. (See above screenshot)
Expected behavior
Be able to launch the debug with the core installed in the specified location even if the same core is installed in the default one
Arduino IDE version
2.0.3
Operating system
Windows
Operating system version
10
Additional context
No response
Issue checklist
- I searched for previous reports in the issue tracker
- I verified the problem still occurs when using the latest nightly build
- My report contains all necessary details