microsoft / microsoft/vscode-cpptools

Evaluate doesn't work as expect during core dump debugging

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

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

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

説明

Configuration:

Ubuntu 14 x64 + Cpptools 20160720.1

VSCode : 1.3

Repro Steps:

  1. Copy the source code from
    main.zip

  2. Compile the source: g++ -g exception.cpp main.cpp -o myapp

  3. Enable the core dump: ulimit -c unlimited

  4. Launch the application to generate the core dump:

    ./myapp "-CallRaisedUnhandledException"

  5. Configure the launch.json for "program" and "coreDumpPath"

  6. F5

  7. Try to evaluate:

    a) result = result +1

    b) EvalFunc(100,100)

Actual:

In both cases, it just returns "not available"

Expected:

a) For result = result +1, I assume the evaluated result should be "11" ?

b) For EvalFunc(100,100) - I have a dar automation test which should verify the error message for function evaluation during core dump debugging, just want to double confirm the message "not availabe" is correct ? I assume it should be similar like "Function evaluation is not supported during core dump debugging? "

Investigation:

You can refer to attached MIEngine log

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

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

はじめの一歩

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

調査の方向性

まず、添付された main.zip のソース、Ubuntu、および program と coreDumpPath を使用する launch.json でコアダンプセッションを再現します。代入と関数呼び出しを評価しながら、添付された MIEngine ログを確認します。動作と想定されるエラーメッセージが確定するか、報告された評価の問題が修正され、検証済みになれば完了です。

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

評価

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

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

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