microsoft / microsoft/vscode-cpptools

GDB settings not honored per debug session

Aperta
#4,487 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

@pieandcakes ci sta già lavorando.

Dal 28/10/2019.

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

Descrizione

Type: Debugger

Describe the bug
OS and Version: Debian 9 x86_64
VS Code Version: 1.39.2
C/C++ Extension Version: 0.26.0
GDB Version: 8.3.1

To Reproduce
Create a simple hello world program and two distinct debug configurations, both of which target the same executable. Launch both sessions concurrently where in session 1 you issue -exec set auto-solib-add off and in the other you issue -exec set auto-solib-add on. Note that depending on the order in which you issue these commands, the other session will have its value overwritten.

Expected behavior
Both debug sessions should honor their solib-add settings. Session 1 should not automatically load shared library debug symbols despite such setting being overwritten in Session 2. It seems both sessions currently use the same MIEngine.

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.