microsoft / microsoft/vscode-cpptools

Disassembly view fails to load when starting a debug session with pre-set instruction breakpoints

Aperta
#13,367 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

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

Descrizione

Environment
  • OS and version: Windows 10
  • VS Code: 1.98
  • C/C++ extension: 1.23.6
  • OS and version of remote machine (if applicable):
  • GDB / LLDB version: GDB 11.1
Bug Summary and Steps to Reproduce

Bug Summary:

When initiating a debug session in Visual Studio Code with pre-set instruction breakpoints, the disassembly view does not load as expected. the disassembly view has a "disassembly not available" in the window.

Steps to reproduce:

  1. Start any debug session in Visual Studio Code.
  2. Open the disassembly view.
  3. Set instruction breakpoints in the code.
  4. Stop the debug session.
  5. Start the debug session again (while the instruction breakpoints are still set).
  6. Open the disassembly view.
  7. Observe that the disassembly view will not load correctly and will display a "disassembly view not available"
    message.
Debugger Configurations
you can try any debug configuration
Debugger Logs
I don't have the logs, but if you try to reproduce you will see that when trying to start a debug session with a pre-set instruction breakpoint, you will get a disassembly request of size 1 which I assume is what cause the bug.
Other Extensions

No response

Additional Information

No response

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.

Direzione di ricerca

Riproduci il problema in VS Code 1.98 con l’estensione C/C++, GDB 11.1, una configurazione di debug qualsiasi e un breakpoint sull’istruzione preimpostato. Confronta la richiesta di disassemblaggio durante la seconda sessione, in particolare la richiesta di dimensione 1 riportata, e conferma che la vista del disassemblaggio viene caricata invece di mostrare “disassembly not available”.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
typescript, vscode
Ambito
devtools
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.