microsoft / microsoft/vscode-cpptools

[WSL] Expression return value incorrectly in watch window

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

@pieandcakes がすでに取り組んでいます。

2017年3月14日 から。

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

説明

Internal bug id:394231
Configuration:
OS: Build 15150.rs_onecore_base_bpt1.170305-1700
VSCode: 1.10.2

Repro Steps:

  1. Download attachment and copy it to Bash side. app2.zip
  2. Open attachment in VSCode and use "C++(GDB/LLDB)" Configuration,update "program" "pipeTransport" "cwd" and "sourceFileMap"Configuration in lanuch.json file as following:
    "program": "/home/grace/temp/app2/a.out",
    "cwd": "/home/grace/temp/app2",
    "pipeTransport": {
    "pipeCwd": "${workspaceRoot}",
    "pipeProgram": "c:\windows\sysnative\bash.exe",
    "pipeArgs": ["-c"],
    "debuggerPath": "/usr/bin/gdb"
    },
    "sourceFileMap": {
    "/home/grace/temp/app2": "c:\temp\app2"
    },
  3. Set a breakpoint at the line which contains text "int c=a/b;"
  4. Press F5 to start debugging
  5. Add expresion 'a/b' in watch window

Expected:
Return a message as "Divide By Zero"

Actual:
As following the pic:

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

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

はじめの一歩

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

評価

この issue はまだ評価されていません。

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

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