microsoft / microsoft/vscode-cpptools

Can't find a C++ source file on ecryptfs home directory during debug process on Ubuntu.

オープン
#617 コメント 8 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

bug debugger
主要言語
TypeScript
スター
6.2k
フォーク
1.7k
平均マージ
14時間 46分
マージ済み PR(30日)
61

説明

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:

  1. Install Ubuntu with ecryptfs (Home directory encryption).
  2. Debug a C++ file with a breakpoint.
  3. Notice that Code does not open the source file with breakpoints but a new one.

Copied from original issue: Microsoft/vscode#24148

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、記載された手順に従い、ecryptfs で暗号化された Ubuntu のホームディレクトリ上の VSCode C++ デバッガーで、ブレークポイントの動作を再現します。デバッガーが報告されたソースパスをワークスペースのファイルにどのように対応付けるかを追跡します。完了条件は、ブレークポイントで空の生成ファイルではなく、実際の C++ ソースを開いてステップ実行できることです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
cpp, ubuntu, vscode
領域
devtools, operating-systems
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。