vendredi 29 avril 2022

Latest VSCode 1.66.2 does not stop on failed assertion in C++ CMake debugging session

My VSCode:

Version: 1.66.2
Commit: dfd34e8260c270da74b5c2d86d61aee4b6d56977
Date: 2022-04-11T07:49:24.808Z
Electron: 17.2.0
Chromium: 98.0.4758.109
Node.js: 16.13.0
V8: 9.8.177.11-electron.0
OS: Linux x64 5.15.0-27-generic snap

I am using Ubuntu 22.04, gdb 12.0.90, g++ 11.2.0. assert(false) does NOT stop the VSCode debugging session at the faulting line of code but terminates the debugging session. This is what I see in the VSCode Terminal:

Aborted (core dumped)
[1] + Aborted (core dumped)      "/bin/gdb" --interpreter=mi --tty=${DbgTerm} 0<"/tmp/Microsoft-MIEngine-In-xqkekjkv.um3" 1>"/tmp/Microsoft-MIEngine-Out-pnbr5eby.w1g"

Aucun commentaire:

Enregistrer un commentaire