-
-
Notifications
You must be signed in to change notification settings - Fork 399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When core is not installed in the default location, debug cannot launched properly #1911
Closed
3 tasks done
Labels
conclusion: resolved
Issue was resolved
topic: CLI
Related to Arduino CLI
topic: code
Related to content of the project itself
topic: debugger
Related to the integrated debugger
type: imperfection
Perceived defect in any part of project
Comments
per1234
changed the title
[debug]: when core is not installed in the default location, debug cannot launched properly
When core is not installed in the default location, debug cannot launched properly
Feb 22, 2023
Maybe related to #122 |
My point was it could be related to the portable mode when we want install to another directory like portable. If it was supported I would probably use it instead of modifying manually the arduino-cli.yaml. 😉 |
per1234
added
topic: CLI
Related to Arduino CLI
topic: code
Related to content of the project itself
labels
Feb 28, 2023
kittaakos
pushed a commit
to arduino/vscode-arduino-tools
that referenced
this issue
Mar 22, 2023
If the `directories.data` is not the default, debug metadata generation can fail with false positive missing platform error. Ref: arduino/arduino-ide#1911 Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
kittaakos
pushed a commit
to arduino/vscode-arduino-tools
that referenced
this issue
Mar 22, 2023
If the `directories.data` is not the default, debug metadata generation can fail with false positive missing platform error. Ref: arduino/arduino-ide#1911 Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
kittaakos
pushed a commit
to arduino/vscode-arduino-tools
that referenced
this issue
Mar 22, 2023
If the `directories.data` is not the default, debug metadata generation can fail with false positive missing platform error. Ref: arduino/arduino-ide#1911 Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
kittaakos
pushed a commit
that referenced
this issue
Mar 22, 2023
so when starting the debugger the CLI config path is used by the CLI for the `daemon -I` command. Closes #1911 Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
This was referenced Mar 22, 2023
kittaakos
pushed a commit
to arduino/vscode-arduino-tools
that referenced
this issue
Mar 27, 2023
If the `directories.data` is not the default, debug metadata generation can fail with false positive missing platform error. Ref: arduino/arduino-ide#1911 Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
kittaakos
pushed a commit
to arduino/vscode-arduino-tools
that referenced
this issue
Mar 27, 2023
If the `directories.data` is not the default, debug metadata generation can fail with false positive missing platform error. Ref: arduino/arduino-ide#1911 Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
kittaakos
pushed a commit
that referenced
this issue
Mar 27, 2023
so when starting the debugger the CLI config path is used by the CLI for the `daemon -I` command. Closes #1911 Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
kittaakos
pushed a commit
that referenced
this issue
Mar 28, 2023
so when starting the debugger the CLI config path is used by the CLI for the `daemon -I` command. Closes #1911 Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
conclusion: resolved
Issue was resolved
topic: CLI
Related to Arduino CLI
topic: code
Related to content of the project itself
topic: debugger
Related to the integrated debugger
type: imperfection
Perceived defect in any part of project
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:
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:
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
The text was updated successfully, but these errors were encountered: