4 ms·
Why do you say that GDB is not the answer? In my experience, GDB (and DDD) works great with Go!
by LukeShu 12y ago
Why do you say that GDB is not the answer? In my experience, GDB (and DDD) works great with Go!
- ganarajpr 12y agoYou 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.
- LukeShu 12y agoThat'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?
- lprez 12y agoIn Mac at least you can't just do that, you need to create yourself a certificate and sign GDB. Took me a while too.
- module0000 12y agoJust 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.
- lprez 12y agothank you!