microsoft / microsoft/vscode-cpptools

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

Offen
#13,367 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

bug debugger help wanted
Vorherrschende Sprache
TypeScript
Sterne
6.2k
Forks
1.7k
Ø Merge
14 Std. 46 Min.
Gemergte PRs (30 T.)
61

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Reproduziere das Problem in VS Code 1.98 mit der C/C++-Erweiterung, GDB 11.1, einer beliebigen Debugkonfiguration und einem voreingestellten Instruction-Breakpoint. Vergleiche die Disassembly-Anforderung während der zweiten Sitzung, insbesondere die gemeldete Anforderung der Größe 1, und bestätige, dass die Disassembly-Ansicht geladen wird, anstatt „disassembly not available“ anzuzeigen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
typescript, vscode
Bereich
devtools
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.