Skip to content

Debugging: Unable to halt execution using arm gdb #25467

@am1ko

Description

@am1ko
  • 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

Metadata

Metadata

Assignees

Labels

debugDebug viewlet, configurations, breakpoints, adapter issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions