microsoft / microsoft/vscode-cpptools
[Windows][cygwin] Couldn't print the exception of 'divide by zero' in watch window.
Aperta
@pieandcakes ci sta già lavorando.
Dal 22/5/2018.
debugger
- Lingua principale
- TypeScript
- Stelle
- 6.2k
- Fork
- 1.7k
- Merge medio
- 14h 46m
- PR unite (30g)
- 61
Descrizione
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.

Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.