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.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Domain
cli, documentation

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.

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

Dominant language
Python
Stars
288
Forks
361
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from platformio/platformio-docs

All issues in platformio/platformio-docs

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.