microsoft / microsoft/vscode-cpptools

Debugging: Unable to halt execution using arm gdb

Open
#833 61 comments 9 reactions 1 assignee View on GitHub

@pieandcakes is already working on this.

Since Sep 4, 2018.

bug debugger embedded
Dominant language
TypeScript
Stars
6.2k
Forks
1.7k
Avg merge
14h 46m
Merged PRs (30d)
61

Description

From @am1ko on April 26, 2017 19:21

  • VSCode Version: 1.11.2 (1.11.2)
  • OS Version: MacOS Sierra 10.12.3

Steps to Reproduce:

  1. Setup launch.json to use arm-none-eabi-gdb for debugging a c program on an embedded target (see attached launch.txt)
  2. Set one breakpoint to beginning of main
  3. Start debug session
  4. Breakpoint in main fires. Press "play" button to continue
  5. Try to halt the target by pressing "pause"

The result is that nothing happens. Any attempt to use the debug console results is
"Unable to perform this action because the process is running."

The way to halt the execution when using command line arm-none-eabi-gdb is to press ctrl-c (SIGINT?). Could this option be added to vscode debugger config?

launch.txt

Copied from original issue: Microsoft/vscode#25467

Contributor guide

Open the contributing guide

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.