0

absolute newbie with coding. Try to configure vscode for coding, but I've problems with the debugger. 'Using it for C at the moment, installed extension c/c++ with intellisense. following config in launch.json:

"version": "0.2.0", "configurations": [

    {
        "name": "(gdb) Launch2",
        "type": "cppdbg",
        "request": "launch",
        "program": "${workspaceFolder}/test.exe",
        "args": [],
        "stopAtEntry": false,
        "cwd": "${workspaceFolder}",
        "environment": [],
        "externalConsole": true,
        "MIMode": "gdb",
        "miDebuggerPath": "C:\\cygwin64\\bin\\gdb.exe",
        "setupCommands": [
            {
                "description": "Enable pretty-printing for gdb",
                "text": "-enable-pretty-printing",
                "ignoreFailures": true
            }
        ]
    },

but problem occours when debugging my program: this is not my code, i've no idea, what's the problem here?

please help!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.