microsoft / microsoft/vscode-cpptools
[Windows][cygwin] Couldn't print the exception of 'divide by zero' in watch window.
Offen
@pieandcakes arbeitet bereits daran.
Seit 22.5.2018.
debugger
- Vorherrschende Sprache
- TypeScript
- Sterne
- 6.2k
- Forks
- 1.7k
- Ø Merge
- 14 Std. 46 Min.
- Gemergte PRs (30 T.)
- 61
Beschreibung
VSCode Version:1.23.0
OS Version: Window7 X64
Cpptools: \scratch2\scratch\waan\vsdbg-cpptools-test
GDB: C:\cygwin64\bin\gdb.exe
Steps to Reproduce:
- Open tests folder in attachments directly.
test.zip - Update "program" and "miDebuggerPath" in launch.json as following:
"program": "${workspaceRoot}/a.exe",
"miDebuggerPath": "C:\cygwin64\bin\gdb.exe", - Set a breakpoint at line of 6 'a++' in a.cpp file.
- Press F5 to start debugging.
- Add '1/0' & 'a/0' in watch window.
Excepted:
Print divide by zero exception as following:

Actual:
Couldn't execute the exception expression as following:

Investigation:
- This issue didn't reproduce in vsdbg.
- I tried to debug this project with gdb in command window, it can work correctly.

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.