News for hackers. Stuff that matters.
Re:Brad Fitzpatrick on the future of Go by hendry on Tuesday October 14, 2014 @10:47AM (#8453629)
Will there be a proper debugger I wonder?
Re:Brad Fitzpatrick on the future of Go by ganarajpr on Tuesday October 14, 2014 @10:58AM (#8453693)
This is the highest and most important thing I want from go. A proper debugger that is not insanely hard to setup ( on any machine! ). Gives a complete stack trace and such info. I am not sure how people can live without a debugger in 2014. GDB is not the answer to this - for sure. There are soo many things that can be done ( tooling wise! ) and this one is , I personally think, the first things the golang guys need to do .
Re:Brad Fitzpatrick on the future of Go by LukeShu on Tuesday October 14, 2014 @11:24AM (#8453826)
Why do you say that GDB is not the answer? In my experience, GDB (and DDD) works great with Go!
Re:Brad Fitzpatrick on the future of Go by ganarajpr on Tuesday October 14, 2014 @11:31AM (#8453846)
You are probably pretty awesome at setting things up. I am not. I tried GDB, golang and windows as a combination and its an exercise in torture.
Re:Brad Fitzpatrick on the future of Go by LukeShu on Tuesday October 14, 2014 @06:20PM (#8456136)
That's true, I am great at setting things up... but Go+GDB was zero set up. `go build` then `gdb ${executable_file}`, and nothing else. I suspect that it's Windows being in the mix that gave you trouble?
Re:Brad Fitzpatrick on the future of Go by lprez on Tuesday October 14, 2014 @07:07PM (#8456331)
In Mac at least you can't just do that, you need to create yourself a certificate and sign GDB. Took me a while too.
Re:Brad Fitzpatrick on the future of Go by module0000 on Wednesday October 15, 2014 @10:32AM (#8458594)
Just an FYI, you can use MacPorts to `sudo port install gdb`, and it installs gdb as 'ggdb' without the signing mess. To use with ddd invoke as `ddd --debugger ggdb` and it works like a charm.
Re:Brad Fitzpatrick on the future of Go by lprez on Thursday October 16, 2014 @04:57PM (#8467669)
thank you!
Re:Brad Fitzpatrick on the future of Go by cjslep on Tuesday October 14, 2014 @11:08AM (#8453740)
Have you tried debugging using LiteIDE? I've had mixed experiences with it, most of the time I end up using fmt anyway.
Re:Brad Fitzpatrick on the future of Go by bradfitz on Tuesday October 14, 2014 @11:16AM (#8453773)
Rob and Nigel are working on one, yes.
Re:Brad Fitzpatrick on the future of Go by f2f on Tuesday October 14, 2014 @11:36AM (#8453875)
Re:Brad Fitzpatrick on the future of Go by andrewstuart2 on Tuesday October 14, 2014 @10:49AM (#8453643)
I'll admit I'm no expert at gdb, so I'm not aware if it falls short vs debugging c, c++, but what's wrong with using gdb?
Re:Brad Fitzpatrick on the future of Go by _ak on Tuesday October 14, 2014 @11:18AM (#8453789)
Depends how you define "proper" and how you imagine a debugger interface to be with which you can handle a running application with hundreds, if not thousands of goroutines.
Re:Brad Fitzpatrick on the future of Go by trungonnews on Tuesday October 14, 2014 @05:45PM (#8456004)
I've been asking for a proper debugger for years! But the Go author keeps on saying that we don't need one... sigh...