I've been working on adding support for Go to the LLDB debugger. The LLVM 3.8 release is coming up in a few weeks and this will be the first release to include the go support.
I'm looking for more people to try it out to see if there's any fixes needed before the code freeze.
The go support includes:
- A go expression parser and type system. LLDB automatically switches between languages based on the current frame.
The expression parser supports inspecting the state of the program, but doesn't yet support modifying things or calling functions.
- Goroutines are treated as threads. The standard backtrace, breakpoint, and stepping commands should all work with goroutines.
Additionally you get all of LLDB's standard features like remote debugging, custom formatting, scripting, loading core files, etc.
(I've tested it on both OS X and Linux).
And if you're new to LLDB I created a version of the gdb debugging article:
Please try it out and let me know if you have any issues.