Live data from Hacker News

LLDB debugger is coming to Windows

blog.llvm.org

21–30 of 37 posts

Re: LLDB debugger is coming to Windows

#21

I think this is awesome. Looking forward to libc++ being made to work on Windows. Then I will have a fully conformant c++ compiler and standard library across all the major platforms.

Isn't Linux support in libc++ still not 100%? I'm using libc++/c++14 on a new project and I love it! Much better than my last experience with c++ (c++98).

I was worried about using libc++, but I recently found a great VPS provider which lets you install from an ISO so I can run FreeBSD in production. I no longer have any need for Linux. Develop on OSX, deploy on FreeBSD.

Re: LLDB debugger is coming to Windows

#23
post #2

For the curious, this will eventually integrate with Visual Studio.

I realize this is difficult, but if you're working with Microsoft to make this happen, having a version of LLVM that generated PDBs would be amazing for interoperability, there's a lot of stuff in WinDbg (open the help file, it's actually a giant book of Windows-specific knowledge) and redoing it is definitely non-trivial (and in many cases only can be done by Microsoft because it relies on internal data structures)

Re: LLDB debugger is coming to Windows

#24
post #14
post #4

I am looking forward to the day when I can have a full Clang/LLVM environment on my Windows machines without relying on MinGW. Hopefully this year!

..and integrated in VS so you can just select Toolset = Clang :P

Well it's coming to VS2015, just not for desktop apps. I assume that having the integration for any one platform greatly lowers the barrier for other platforms, though.

> In Visual Studio 2015, that cross-platform reach is going to include C++, too. Microsoft's development environment will include support for the Clang compiler and LLVM infrastructure for targeting Android and, in a later iteration, iOS.

http://arstechnica.com/information-technology/2014/11/visual...

Re: LLDB debugger is coming to Windows

#25
post #21

I think this is awesome. Looking forward to libc++ being made to work on Windows. Then I will have a fully conformant c++ compiler and standard library across all the major platforms.

Isn't Linux support in libc++ still not 100%? I'm using libc++/c++14 on a new project and I love it! Much better than my last experience with c++ (c++98). I was worried about using libc++, but I recently found a great VPS provider which lets you install from an ISO so I can run FreeBSD in production. I no longer have any need for Linux. Develop on OSX, deploy on FreeBSD.

It's not quite 100%. There are still a few outstanding faults, mostly due to different localization assumptions made by the underlying libc. http://libcxx.llvm.org/results.Linux.html

Re: LLDB debugger is coming to Windows

#26
post #16

Earlier quoted context omitted.

They probably would be if swift was open-source.

Probably not, actually. But it also depends on what you count. Google definitely has more people working directly on LLVM itself than Apple (At Google, they almost all work for me, and I know the numbers for Apple). If you start to include related open source projects (like clang, etc), the numbers get closer, but then you have things like all of the Android related open source stuff that gets worked on (Renderscript…

Google and Apple used to be friendly and working on the same open source project named WebKit. Looking at the precedent, it is not unreasonable to consider such things, even if everything is okay in LLVM at the moment.

Re: LLDB debugger is coming to Windows

#27
post #20
post #14

Earlier quoted context omitted.

..and integrated in VS so you can just select Toolset = Clang :P

Especially with the Community Edition of VS making it really easy for pretty much anyone to get access to VS. I like GCC and everything but I will be happy to leave it behind if I am honest. The politics are just too damn much for me these days. GCC should be about building a great compiler collection for the world but politics plays too big a part in it as seen with the whole AST debate going on again because of RMS…

for you and people like you of course . people whos care about software freedom of course choosing GCC.

Re: LLDB debugger is coming to Windows

#28
post #14
post #4

I am looking forward to the day when I can have a full Clang/LLVM environment on my Windows machines without relying on MinGW. Hopefully this year!

..and integrated in VS so you can just select Toolset = Clang :P

Already exists to a degree for some time.

http://llvm.org/builds/

Under Windows Snapshot Builds.

LLVM video on it from last year. https://www.youtube.com/watch?v=PX3UOXAlk0A

Slides from said talk http://llvm.org/devmtg/2014-04/PDFs/Talks/clang-cl.pdf

Re: LLDB debugger is coming to Windows

#29
As a MinGW user, I'm pretty excited for this. Using GDB on Windows isn't even a perfect solution for MinGW programs, since they depend on Windows DLLs that use Microsoft format debug information. If LLDB supported both DWARF and PDB files, I'd finally be able to get a full stack trace with proper symbols for all frames.

Re: LLDB debugger is coming to Windows

#30
While mingw is the king in windows, it is beneficial if other c-compiler projects provide alternatives. One day, clang will come as a complete alternative (modulo winapi headers) combined with libc++ eventual implementation. Personally I would like to see other dbg projects like mago materialize for dlang native debugging. From what I see, LLDB could be useful for LDC2.

But I do not know if LLDB debugs only MSVC debugger format or also Dwarf on windows? Is it only specific to clang-cl?

Post reply on HN