microsoft / microsoft/vscode-cpptools

`Show source code in disassembly view` not work

Aperta
#8,516 3 commenti 12 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

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

Descrizione

Bug type: Debugger & Disassembly

Describe the bug

  • OS and Version: Linux (Ubuntu 20LTS)
  • VS Code Version: 1.63.0
  • C/C++ Extension Version: v1.7.1
  • Other extensions you installed (and if the issue persists after disabling them):
  • A clear and concise description of what the bug is.

To Reproduce
Please include a code sample and launch.json configuration.
launch.json: the generated default.
code sample: just c++ hello world.

Steps to reproduce the behavior:

  1. Check the Settings - Features - Debug - [Disassembly View: Show source code], make sure it's TRUE;
  2. In the editor, write any good c++ code, then press F5 to start a normal debug, and pause at some breakpoint.
  3. Right click inside the code area, select Open Disassembly View to launch the disassembly view.
  4. As it shows, there's only assembly code. The c++ source code is NOT inlined within the assembly code.

Additional context
If applicable, please include logging by adding "logging": { "engineLogging": true, "trace": true, "traceResponse": true } in your launch.json
Add any other context about the problem here including log or error messages in your Debug Console or Output windows.

What I want is: c++ source code can be inlined within the disassembly code together, just like the visual studio behaves:

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 su Ubuntu con VS Code 1.63.0, l’estensione C/C++ v1.7.1, il launch.json generato e l’impostazione «Disassembly View: Show source code» abilitata. Metti in pausa un programma hello-world C++ su un breakpoint e apri la vista di disassemblaggio; l’attività è completata quando il codice sorgente C++ viene visualizzato inline insieme all’assembly come descritto.

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

Valutazione

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

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.