Open Hermann-Core opened 1 year ago
? > [Warning] 1: (200) STDERR: error: unknown option: --interpreter=mi
The cppdbg
debug adapter only supports debuggers that supports MI.
You will need to point to lldb-mi.exe
instead of lldb.exe
. However, As of 10.x, the LLVM toolchain has stopped shipping lldb-mi
with lldb
.
? > [Warning] 1: (200) STDERR: error: unknown option: --interpreter=mi
The
cppdbg
debug adapter only supports debuggers that supports MI.You will need to point to
lldb-mi.exe
instead oflldb.exe
. However, As of 10.x, the LLVM toolchain has stopped shippinglldb-mi
withlldb
.
Ah thanks. Didn't know that. And what interface does lldb supports then ?
lldb
just supports the console
interface.
https://sourceware.org/gdb/onlinedocs/gdb/Interpreters.html#Interpreters
Other debug adapters have moved to using the public Python/C++ APIs and query liblldb directly, however this extension depends on the MI interface.
Hello, I built lldb-mi for Windows and you can get it here. Currently the package is under moderation of chocolatey but it works.
FYI, the "Native LLDB" extension seems to "just work" much better than going via CPPDBG. Helpers are just there, it's faster, and it's also skipping over std library code. At least within this container.
Environment
Bug Summary and Steps to Reproduce
Bug Summary: I'm unable to start a debug session with lldb. It always prints an error without doing anything in the terminal or the console. I tried with both openocd and stm32cubeprogrammer
Debugger Configurations
Debugger Logs
Other Extensions
No response
Additional Information
No response