microsoft / microsoft/vscode-cpptools

Debug active TU source (similar to debug active file, but check which source file is associated with active header)

Aperta
#8,811 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

enhancement Language Service tasks/build/debug
Lingua principale
TypeScript
Stelle
6.2k
Fork
1.7k
Merge medio
14h 46m
PR unite (30g)
61

Descrizione

Issue Type: Feature Request

Situation :

You are debugging a header, with a testfile. You set breakpoints in the header and trigger a debug on testfile. Now currently, when you restart debugging, it picks the current header you are viewing and attempts to start compiling and debugging it, but it can't because its a header that doesn't have a main.

Request :
The restart option remembers from which file the debugger was triggered, so we don't have to re-navigate to the file manually and then trigger the debugger from there.

Extension version: 1.7.1
VS Code version: Code 1.63.2 (899d46d82c4c95423fb7e10e68eba52050e30ba3, 2021-12-15T09:40:02.816Z)
OS version: Windows_NT x64 10.0.22000
Restricted Mode: No

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

Nell’issue non sono indicati file, test o punti di ingresso. Inizia tracciando il flusso di debugging dopo un riavvio e il modo in cui l’header attivo viene associato al file sorgente che ha avviato il debugging; il lavoro è completato quando il riavvio da un header usa il file sorgente associato invece di tentare di compilare l’header.

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

Valutazione

Stack tecnologico
cpp
Ambito
devtools
Tipo di issue
Funzionalità
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.