microsoft / microsoft/vscode-cpptools
Can't find a C++ source file on ecryptfs home directory during debug process on Ubuntu.
Nessuno ha ancora preso questa issue.
- Lingua principale
- TypeScript
- Stelle
- 6.2k
- Fork
- 1.7k
- Merge medio
- 14h 46m
- PR unite (30g)
- 61
Descrizione
From @Schmerzmittel on April 6, 2017 22:24
- VSCode Version: 1.11.1
- OS Version: Ubuntu 16.10 4.10.8 Generic Kernel.
Every time I tried to debug a C++ software with breakpoints, Code said it could not find the source code file and created a empty file at a strange place (/home/"myusername"/353254270354204234/"projectnameakamyprecious"/main.cpp). The debugging process worked; however, this issue made debugging process little tricky since I was not able to follow up with the debugger.
Code can open files without any problems, but whenever I use the debugger, Code opens a new file and sets step on the empty file.
I am referring to ecryptfs because that's what I am using, and I am thinking that the software [ecryptfs] is causing the problem.
Steps to Reproduce:
- Install Ubuntu with ecryptfs (Home directory encryption).
- Debug a C++ file with a breakpoint.
- Notice that Code does not open the source file with breakpoints but a new one.
Copied from original issue: Microsoft/vscode#24148
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia riproducendo il comportamento dei breakpoint nel debugger C++ di VSCode su una directory home Ubuntu crittografata con ecryptfs, seguendo i passaggi elencati. Traccia il modo in cui il debugger associa il percorso sorgente riportato al file del workspace; il lavoro è completato quando i breakpoint aprono ed eseguono passo passo il codice sorgente C++ effettivo invece di un file generato vuoto.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- cpp, ubuntu, vscode
- Ambito
- devtools, operating-systems
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100