Vscode terminal cannot jump to the error line

Viewed 11

When the terminal get an error, I click the error message.

enter image description here

But it doesn't jump to the error line. It shows like this.

enter image description here

If I click the "create file", it creates a new file in the workspace directory.

enter image description here

this is my launch.json

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "cppbuild",
            "type": "cppdbg",
            "request": "launch", 
            "program":"${fileDirname}\\bin\\${fileBasenameNoExtension}.exe", 
            "args": [], 
            "stopAtEntry": false, 
            "cwd": "${fileDirname}", 
            "environment": [],
            "externalConsole":false, 
            "internalConsoleOptions": "neverOpen", 
            "MIMode": "gdb", 
            "miDebuggerPath": "E:\\asoftware\\mingw64\\bin\\gdb.exe", 
            "preLaunchTask": "build" 
    }]
}
0 Answers
Related