On Fri, Mar 31, 2017 at 8:37 AM, YZ Xie <xiede...@gmail.com> wrote:
>
> hi everyone, use gdb to debug golang, I find two question
> 1. cannot use step / s  to step in a function, is this for a wrong source
> code path ?
> 2.gdb cannot print variable value, is this because compile optimize ?

Be sure to see https://golang.org/doc/gdb .

Ian

-- 
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