LLDB's TypeSystems: An Unfinished Interface
Well, it's "done". TypeSystemRust
has a (semi) working prototype for LLDB 19.x. It doesn't support expressions or MSVC targets (i.e. PDB debug info), and there are a whole host of catastrophic crashes, but it more or less proves what it needs to: Rust's debugging experience can be improved, and there are worthwhile benefits to a working TypeSystem
that can't be emulated on other layers of the debugging stack.
If you want to test it out, you'll need to build my fork from source (sorry), but then lldb.exe
can be used as-is, or you can point a debugger extension like lldb-dap or CodeLLDB to your newly built lldb-dap.exe
or liblldb.dll
respectively. If you're on Windows, make sure to compile for MSVC otherwise CodeLLDB won't be able to interface with liblldb
properly.