microsoft / microsoft/vscode-cpptools

Debugging: Unable to halt execution using arm gdb

Aperta
#833 61 commenti 9 reazioni 1 assegnatario Vedi su GitHub

@pieandcakes ci sta già lavorando.

Dal 4/9/2018.

bug debugger embedded
Lingua principale
TypeScript
Stelle
6.2k
Fork
1.7k
Merge medio
14h 46m
PR unite (30g)
61

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.