microsoft / microsoft/vscode-cpptools
[WSL] Expression return value incorrectly in watch window
Đang mở
@pieandcakes đang làm issue này rồi.
Từ ngày 14/3/2017.
debugger
- Ngôn ngữ chính
- TypeScript
- Star
- 6.2k
- Fork
- 1.7k
- Merge trung bình
- 14 giờ 46 phút
- Pull request đã merge (30 ngày)
- 61
Mô tả
Internal bug id:394231
Configuration:
OS: Build 15150.rs_onecore_base_bpt1.170305-1700
VSCode: 1.10.2
Repro Steps:
- Download attachment and copy it to Bash side. app2.zip
- 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"
}, - Set a breakpoint at the line which contains text "int c=a/b;"
- Press F5 to start debugging
- Add expresion 'a/b' in watch window
Expected:
Return a message as "Divide By Zero"
Actual:
As following the pic:
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Đánh giá
Issue này chưa được đánh giá.