platformio / platformio/platformio-docs

pio debug command line : how to attach a running target?

Open
#310 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.