-
I'm currently diving into C++ and have recently transitioned to using VSCode as my primary editor. I've been experimenting with its integrated debugging features, but I've hit a snag—it doesn't seem to execute the program after I build it. I've been following the official guide diligently. Any suggestions on how to troubleshoot this? My {
"tasks": [
{
"type": "cppbuild",
"label": "C/C++: g++ build active file",
"command": "/nix/store/ac1hb5dc2z4biwgy8mjrhlifffkkrvdq-gcc-wrapper-13.2.0/bin/g++",
"args": [
"-fdiagnostics-color=always",
"-g",
"${file}",
"-o",
"${fileDirname}/${fileBasenameNoExtension}"
],
"options": {
"cwd": "${fileDirname}"
},
"problemMatcher": [
"$gcc"
],
"group": {
"kind": "build",
"isDefault": true
},
"detail": "Task generated by Debugger."
}
],
"version": "2.0.0"
} |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It appears the issue stemmed from a bug specific to NixOS. Following the steps outlined in this forum thread, linked here, I managed to resolve the problem and get everything working smoothly. |
Beta Was this translation helpful? Give feedback.
It appears the issue stemmed from a bug specific to NixOS. Following the steps outlined in this forum thread, linked here, I managed to resolve the problem and get everything working smoothly.