Closed LinusLing0910 closed 2 years ago
I installed the ceedling test exploer, it is ok for run the test case , but pops up "configuration true is missing in launch.json",
below is the lauch.json
{ "version": "0.2.0", "configurations": [ { "name": "Ceedling Test Explorer Debug", "type": "cppdbg", "request": "launch", "program": "${fileDirname}/build/test/out/${command:ceedlingExplorer.debugTestExecutable}", "args": [], "stopAtEntry": false, "cwd": "${fileDirname}", "environment": [], "externalConsole": false, "MIMode": "gdb", "miDebuggerPath": "D:\\Program Files\\mingw64\\bin\\gdb.exe", "setupCommands": [ { "description": "Enable pretty-printing for gdb", "text": "-enable-pretty-printing", "ignoreFailures": true } ], "preLaunchTask": "C/C++: g++.exe build active file" } ] }
below is the setting.json
{ "files.associations": { "plc_core_def.h": "c" }, "ceedlingExplorer.debugConfiguration": "true", "ceedlingExplorer.problemMatching": { "mode": "gcc" } }
resolved, it caused by the incorrrect configuration, the "ceedlingExplorer.debugConfiguration" shoud configure with "Ceedling Test Explorer Debug"
I installed the ceedling test exploer, it is ok for run the test case , but pops up "configuration true is missing in launch.json",
below is the lauch.json
below is the setting.json