c-cpp-compile-run icon indicating copy to clipboard operation
c-cpp-compile-run copied to clipboard

Questions about debugging

Open gyqljs opened this issue 1 year ago • 1 comments

This is what's inside my launch.json file { version "0.2.0". "configurations": [ { "name": "launch!" , "type": "cppdbg", "request": "startup", "program": "${fileDirname}/${fileBasenameNoExtension}", "args": [],. "stopAtEntry": false, "cwd": "${fileDirname}", "environment": [],. "externalConsole": true, "MIMode": "lldb", "preLaunchTask": "C/C++: clang++ Generate active file", "miDebuggerPath": "/usr/bin/lldb". }, .

] } The path to lldb is correct But why is it always Cannot start debugging. The startup option string provided by the project system is invalid. The path to the debugger could not be determined. Please specify the "MIDebuggerPath" option.

Translated with DeepL.com (free version)

gyqljs avatar Feb 27 '24 15:02 gyqljs

Hi, do you have gdb installed?

danielpinto8zz6 avatar Mar 13 '24 20:03 danielpinto8zz6