Haha, I agree, Printf is my debugging tool of choice, but some in my team 
like debuggers ...

On Monday, June 12, 2017 at 5:40:30 PM UTC-7, brainman wrote:
>
> > ... I also tried to load the go extension for gdb with "source 
> C:/utils/go/src/runtime/runtime-gdb.py", but it doesn't do much good, 
>
> Yes, I tried that recently. It didn't work for me either. From what I 
> remember, you had to have "python support" with gdb, and that, apparently, 
> is hard. I didn't have real need for runtime-gdb.py, so I gave up.
>
> > It would be nice to have a dbg_break() call in Go that would wait for 
> dlv to connect, irrespective of whether Go is embedded in C/C++ or not.
>
> I do not know what you are proposing. But, sure, there are other ways to 
> debug code. For example, I use fmt.Printf or println.
>
> Alex
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to