Attach my launch. Jason and taks. Jason
{
"Version" : "0.2.0,"
"Configurations:" [
{
"Name" : "(GDB) Launch",
"PreLaunchTask" : "build,"
"Type" : "CPPDBG,"
"Request" : "launch",
"The program" : "fileDirname fileDirname/{fileBasenameNoExtension}. Exe",
"Args" : [],
"StopAtEntry" : false,
"CWD" : "${workspaceFolder},
"The environment" : [],
"ExternalConsole" : true,
"MIMode" : "the GDB,"
"MiDebuggerPath" : "E: \ MinGW \ mingw32 \ bin \ GDB exe",
"SetupCommands" : [
{
"Description" : "Enable pretty - printing for GDB",
"Text", "- the enable - pretty - printing",
"IgnoreFailures" : true
}
]
}]
}
{
"Version" : "2.0.0,"
"Tasks" : [
{
"Label" : "build,"
"Type" : "shell",
"Group" : {
"Kind" : "build,"
"IsDefault" : true
},
"The presentation" : {
"Echo" : true,
"Pass reveal" : "always,"
"Focus" : false,
"Panel" : "Shared"
},
"Windows" : {
"Command", "g + +",
"Args" : [
"-ggdb",
"" KaTeX parse error: Can 't use the function' " 'in math mode at position 7: {file} \??" ",... {fileDirname} \ ${fileBasenameNoExtension}. Exe ""
]
}
}
]
}
CodePudding user response:
Programmer is one of the common sense: don't put program source code, or projects or exe desktop this complex (mostly with Spaces and the characters and the firewall or antivirus software tight control on disk C) of the directory,CodePudding user response:
Because there are ChineseI put the path of the Chinese, the blank space to delete
CodePudding user response:
MinGW path does not support Chinese, debugging