Describe the bug
This is the launch.json
{
"version": "0.2.0",
"configurations": [
{
"name": "(gdb)",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/a.exe",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": true,
"MIMode": "gdb",
"miDebuggerPath": "D:\\CodeBlocks\\MinGW\bin\\gdb.exe",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
]
}
This is the tasks.json
{
"version": "2.0.0",
"tasks": [
{
"label": "build hello world",
"type": "shell",
"command": "g++",
"args": [
"-g", "${fileBasenameNoExtension}.cpp"
],
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
And there are no the char "0x08", the launch.json
look like this in the notepad++ with show all characteres.
Any one can help?馃榾
Please enable engineLogging and post the output.
Thanks a lot @pieandcakes . And I find the reason.
Missing a character "\" in the path of the gdb.exe.
Ok. Let me know if you need more help.
Most helpful comment
Thanks a lot @pieandcakes . And I find the reason.
Missing a character "\" in the path of the gdb.exe.