Live data from Hacker News

The LLDB Debugger

llvm.org

21–30 of 36 posts

Re: The LLDB Debugger

#21
post #17

I hope it replaces the notoriously hard to use gdb. I actually like doing things on the commandline and am used to using minimalistic tools like vim, but gdb's obscure commandline behavior makes it very hard for me to use it for any real project.

"step" to step, "backtrace" to get a backtrace, ...? Yeah, that's confusing.

Re: The LLDB Debugger

#22
post #5
post #4

Earlier quoted context omitted.

Sounds like 'better', being built around a set of libraries first, with the ability to write plugins/extension in a reasonable language like Python. Most software written originally 20 years ago is going to seem crusty, and have issues in a field as young as computer science -- there are just better ideas and practices these days compared to when GDB was first started, not even considering licensing issues. Compare t…

Yes -- antirez who wrote Redis wrote linenoise, a replacement of the 20k lines of the old GNU readline in about 400 lines of C for only the 99.99% of users who are on VT100 terminals. http://github.com/antirez/linenoise

I just use "read" which is only one line of code, and has about as many features as linenoise.

readline is "bloated" because it actually does something.

Re: The LLDB Debugger

#23
post #9

Earlier quoted context omitted.

Hum, I'd rather wait and see first. What about the truckloads of tools built around gdb (ddd, etc)? And why this should be any better, because it comes from Apple?

Apple employs a few (more than 1?) LLVM people, but it's hardly an Apple project by any means. LLVM is a substantial and fantastic project. At the basis, it's a compiler backend in-a-box. Additional projects, like clang and this, are providing a modern compiler platform for us, finally. gcc & friends have made great advances, relative to other compilers, but they all do suck. It's been 12 years and I still can't use…

> Apple employs a few (more than 1?) LLVM people, but it's hardly an Apple project by any means.

They employ around two dozen LLVM developers, comprising half to two-thirds of the regular committers.

Re: The LLDB Debugger

#25

Earlier quoted context omitted.

Apple employs a few (more than 1?) LLVM people, but it's hardly an Apple project by any means. LLVM is a substantial and fantastic project. At the basis, it's a compiler backend in-a-box. Additional projects, like clang and this, are providing a modern compiler platform for us, finally. gcc & friends have made great advances, relative to other compilers, but they all do suck. It's been 12 years and I still can't use…

> Apple employs a few (more than 1?) LLVM people, but it's hardly an Apple project by any means. They employ around two dozen LLVM developers, comprising half to two-thirds of the regular committers.

Oh wow.

Re: The LLDB Debugger

#26
post #9

Earlier quoted context omitted.

Hum, I'd rather wait and see first. What about the truckloads of tools built around gdb (ddd, etc)? And why this should be any better, because it comes from Apple?

Apple employs a few (more than 1?) LLVM people, but it's hardly an Apple project by any means. LLVM is a substantial and fantastic project. At the basis, it's a compiler backend in-a-box. Additional projects, like clang and this, are providing a modern compiler platform for us, finally. gcc & friends have made great advances, relative to other compilers, but they all do suck. It's been 12 years and I still can't use…

I've found the Visual Studio debugger to be very nice, actually. It shows STL classes in an intelligible way, and the IDE integration is (as expected) excellent. Unfortunately OSS alternatives are still a lot less intuitive, and VS is stuck to Windows.

Re: The LLDB Debugger

#27
post #17

I hope it replaces the notoriously hard to use gdb. I actually like doing things on the commandline and am used to using minimalistic tools like vim, but gdb's obscure commandline behavior makes it very hard for me to use it for any real project.

"step" to step, "backtrace" to get a backtrace, ...? Yeah, that's confusing.

"step" and "backtrace" of course being the only possible logical names for those functions. Not having memorized the gdb info pages, I would never mistakenly type in "next" or "over" or "in" or "stack" or "stackframe" or "frame" or...

Re: The LLDB Debugger

#28
post #17

I hope it replaces the notoriously hard to use gdb. I actually like doing things on the commandline and am used to using minimalistic tools like vim, but gdb's obscure commandline behavior makes it very hard for me to use it for any real project.

"step" to step, "backtrace" to get a backtrace, ...? Yeah, that's confusing.

When you try to do complicated stuff it does get confusing. Like remembering the exact way you need to type out C++ method names (you need to put single-quotes in just the right places.)

Re: The LLDB Debugger

#30
post #18
post #14

Earlier quoted context omitted.

Well, my company only works on gpl stuff and doesn't suffer any inconvenience from that. So I call bluff.

You're saying that being able to statically link a library into a commercial app has no business value to anybody because you are fortunate enough to have found a niche where you didn't need to. Your personal experience is enviable, but I don't see how it speaks to the general case.

I actually think that proprietary software is morally wrong anyway. Blasphemy! :)
Post reply on HN