[lldb-dev] Is anyone using lldb on Windows to debug a _Windows_ application

Greg Clayton gclayton at apple.com
Mon Jun 16 11:12:21 PDT 2014


> On Jun 14, 2014, at 3:12 AM, Eran Ifrah <eran.ifrah at gmail.com> wrote:
> 
> Hi,
> 
> I tried both building lldb with MSVC and with MinGW both failed to debug native Windows executables (I actually tried 3 types of executables, 1 built with MinGW, 1 with clang 3.4 and 1 with Visual Studio)
> 
> This is the error I am getting:
> 
> $ lldb D:/src/TestArea/ClangVC/Debug/ClangVC.exe
> error: 'D:/src/TestArea/ClangVC/Debug/ClangVC.exe' doesn't contain any 'host' platform architectures:
> (lldb)
> 
> So the question is:
> ‚ÄčIs it possible to use lldb on Windows (for local debugging not remote debugging)


No, we currently don't support native debugging on windows as far as I know. With MSVC, they emit a proprietary debug information format (in .pdb files) that isn't documented. I am sure a native windows plug-in could be made to support binaries built with gcc or clang, but I don't believe anyone has done this yet.

Greg





More information about the lldb-dev mailing list