microsoft / microsoft/vscode-cpptools
[WSL] Expression return value incorrectly in watch window
Offen
@pieandcakes arbeitet bereits daran.
Seit 14.3.2017.
debugger
- Vorherrschende Sprache
- TypeScript
- Sterne
- 6.2k
- Forks
- 1.7k
- Ø Merge
- 14 Std. 46 Min.
- Gemergte PRs (30 T.)
- 61
Beschreibung
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:
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.