-
Notifications
You must be signed in to change notification settings - Fork 246
Windows
vadimcn edited this page Oct 5, 2021
·
9 revisions
On Windows, there are two debug information formats in common use: the Microsoft PDB ("msvc" ABI), used primarily by used by Microsoft toolchains, and DWARF ("gnu" ABI), originating from Unix toolchains (GCC, LLVM, etc).
LLDB supports both of these formats, however, being a relatively recent addition, PDB support is still somewhat buggy and you may experience problems with it, up to and including debugger crashes. For this reason, when there is a choice, using gnu ABI compilation targets is recommended.
Rust users should also be aware that until version 1.55, PDB support in rustc was lacking (most notably around features related to enums). If you must use the "msvc" ABI, be sure you have a recent version of the compiler.