You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ √] PlatformIO IDE.
All issues related to PlatformIO IDE should be reported to the PlatformIO IDE for VSCode repository
(well I noticed this after I filed this issue, it's clion not vscode, and I don't seem to be able to delete the ticket)
Configuration
Operating system:
Mac OS
PlatformIO Version
PlatformIO Core, version 6.1.13
Description of problem
I can't debug code for teensy 4.1
Steps to Reproduce
Using Clion I go to the PlatformIO sidebar, click debug and get an error.
Actual Results
KeyError: Traceback (most recent call last):
File "/Users/f/Workshop/Library/miniconda3/lib/python3.9/site-packages/platformio/__main__.py", line 103, in main
cli() # pylint: disable=no-value-for-parameter
File "/Users/f/Workshop/Library/miniconda3/lib/python3.9/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
File "/Users/f/Workshop/Library/miniconda3/lib/python3.9/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/Users/f/Workshop/Library/miniconda3/lib/python3.9/site-packages/platformio/cli.py", line 85, in invoke
return super().invoke(ctx)
File "/Users/f/Workshop/Library/miniconda3/lib/python3.9/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/f/Workshop/Library/miniconda3/lib/python3.9/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/f/Workshop/Library/miniconda3/lib/python3.9/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/Users/f/Workshop/Library/miniconda3/lib/python3.9/site-packages/click/decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
File "/Users/f/Workshop/Library/miniconda3/lib/python3.9/site-packages/platformio/debug/cli.py", line 104, in cli
debug_config = _configure(*configure_args)
File "/Users/f/Workshop/Library/miniconda3/lib/python3.9/site-packages/platformio/debug/cli.py", line 116, in _configure
debug_config = DebugConfigFactory.new(
File "/Users/f/Workshop/Library/miniconda3/lib/python3.9/site-packages/platformio/debug/config/factory.py", line 44, in new
return config_cls(platform, project_config, env_name)
File "/Users/f/Workshop/Library/miniconda3/lib/python3.9/site-packages/platformio/debug/config/base.py", line 53, in __init__
self.server = self._configure_server()
File "/Users/f/Workshop/Library/miniconda3/lib/python3.9/site-packages/platformio/debug/config/base.py", line 185, in _configure_server
self.platform.get_package_dir(server_package)
File "/Users/f/Workshop/Library/miniconda3/lib/python3.9/site-packages/platformio/platform/_packages.py", line 32, in get_package_dir
pkg = self.get_package(name)
File "/Users/f/Workshop/Library/miniconda3/lib/python3.9/site-packages/platformio/platform/_packages.py", line 29, in get_package
return self.pm.get_package(spec or self.get_package_spec(name))
File "/Users/f/Workshop/Library/miniconda3/lib/python3.9/site-packages/platformio/platform/_packages.py", line 21, in get_package_spec
owner=self.packages[name].get("owner"),
KeyError: 'tool-jlink'
============================================================
An unexpected error occurred. Further steps:
* Verify that you have the latest version of PlatformIO using
`python -m pip install -U platformio` command
* Try to find answer in FAQ Troubleshooting section
https://docs.platformio.org/page/faq/index.html
* Report this problem to the developers
https://github.com/platformio/platformio-core/issues
============================================================
Expected Results
I can step over the code, or get a dialog saying why not.
Hi @fedesilva, I'm curios how you plan to debug this board? It doesn't have an on-board debugger and the external probe is also hard to connect (if possible).
What kind of issue is this?
All issues related to PlatformIO IDE should be reported to the
PlatformIO IDE for VSCode repository
(well I noticed this after I filed this issue, it's clion not vscode, and I don't seem to be able to delete the ticket)
Configuration
Operating system:
Mac OS
PlatformIO Version
PlatformIO Core, version 6.1.13
Description of problem
I can't debug code for teensy 4.1
Steps to Reproduce
Using Clion I go to the PlatformIO sidebar, click debug and get an error.
Actual Results
Expected Results
I can step over the code, or get a dialog saying why not.
If problems with PlatformIO Build System:
The content of
platformio.ini
:Source file to reproduce issue:
Additional info
Clion Build #CL-233.14475.31, built on February 13, 2024
(but got the same with vscode, whatever the version)
The text was updated successfully, but these errors were encountered: