我正在运行代码,每次在调试控制台中弹出输出时,都要求访问文件而不是加载所有 C/C++ 文件,当尝试输入某些内容时,它说无法处理已经运行的 尝试完全重新启动 vscode,但它仍然不断弹出保存的信息,将 json 放下,我也将一些东西设置为错误的 idk,它显示的内容然后消失了
{ "configurations": [
{
"name": "macos-clang-arm64",
"includePath": [
"${workspaceFolder}/**"
],
"compilerPath": "/usr/bin/clang",
"cStandard": "${default}",
"cppStandard": "${default}",
"intelliSenseMode": "macos-clang-arm64",
"compilerArgs": [
""
]
}],"version": 4}
{ "version": "0.2.0","configurations": [
{ "name": "C/C++ Runner: Debug Session",
"type": "lldb",
"request": "launch",
"args": [],
"cwd": "/Users/arielsfolder/Desktop/untitled folder",
"program": "/Users/arielsfolder/Desktop/untitled folder/build/Debug/outDebug"
}]}
{"cmake.configureOnOpen": true,"C_Cpp_Runner.cCompilerPath": "clang","C_Cpp_Runner.cppCompilerPath": "clang++","C_Cpp_Runner.debuggerPath": "lldb","C_Cpp_Runner.cStandard": "","C_Cpp_Runner.cppStandard": "","C_Cpp_Runner.msvcBatchPath": "","C_Cpp_Runner.useMsvc": false,"C_Cpp_Runner.warnings": ["-Wall","-Wextra","-Wpedantic","-Wshadow","-Wformat=2","-Wconversion","-Wnull-dereference","-Wsign-conversion"],"C_Cpp_Runner.enableWarnings": true,"C_Cpp_Runner.warningsAsError": false,"C_Cpp_Runner.compilerArgs": [],"C_Cpp_Runner.linkerArgs": [],"C_Cpp_Runner.includePaths": [],"C_Cpp_Runner.includeSearch": [ "*","**/*"],"C_Cpp_Runner.excludeSearch": ["**/build","**/build/**","**/.*","**/.*/**","**/.vscode","**/.vscode/**"],"C_Cpp_Runner.useAddressSanitizer": false}
tasks.json
{
"tasks": [
{
"type": "cppbuild",
"label": "C/C++: clang++ build active file",
"command": "/usr/bin/clang++",
"args": [
"-fcolor-diagnostics",
"-fansi-escape-codes",
"-g",
"${file}",
"-o",
"${fileDirname}/${fileBasenameNoExtension}"
],
"options": {
"cwd": "${fileDirname}"
},
"problemMatcher": [
"$gcc"
],
"group": {
"kind": "build",
"isDefault": true
},
"detail": "Task generated by Debugger."
}
],
"version": "2.0.0"}