platformio / platformio/platformio-docs
pio debug command line : how to attach a running target?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 285
- Forks
- 357
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
in the doc I can't see how to attach to a running target to debug a crash,
https://github.com/platformio/platformio-docs/blob/develop/core/userguide/cmd_debug.rst
I guess the load-mode shall be overridden to manual
pio debug --interface=gdb --load-mode=manual and???
thanks for the precision
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with cmd_debug.rst, the documentation file linked in the issue, and review the existing pio debug options around --interface and --load-mode. Document the supported way to attach to a running target for crash debugging, including the complete command invocation. Done means a newcomer can follow the page without guessing what follows --load-mode=manual.
Written by the indexing model from the issue text.
Assessment
- Domain
- cli, documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100