Open L0laapk3 opened 7 months ago
Sidenote: Is there a setting to manually override this scanning behavior and instead supply a debugger path yourself, without having to define an entire launch.json file? That would be nice.
Yes, add something like this to your settings.json
file:
"cmake.debugConfig": {
"MIMode": "gdb" // or "lldb"
"miDebuggerPath": "/path/to/debugger"
}
Thanks @bobbrow. I'll close this issue since there is a way to set which debugger to use. Thanks!
Thanks @bobbrow, your suggestion worked flawlessly. I could not find this in documentation.
@gcampbell-msft, in my opinion, "default launch debug attempts to use unsupported debuggers" is still an issue regardless of the available workaround.
The issue is not solved and I dont agree with it being marked as such.
@L0laapk3 Thank you very much for your response, we've reopened this issue and added it to the backlog
Brief Issue Summary
Cmaketools attempts to launch lldb on linux, something that is explicitely not supported by cpptools.
CMake Tools Diagnostics
No response
Debug Log
No response
Additional Information
I am using the following kit on a fresh WSL debian machine:
When launching the default cmaketools debugger target, without manually supplying a launch.json, the following debuggers are tried in the following order:
It should not try to launch lldb debuggers on the linux platform since those are not supported.
Sidenote: Is there a setting to manually override this scanning behavior and instead supply a debugger path yourself, without having to define an entire launch.json file? That would be nice.