but default system library do optimization, sometime I can not check local variable
On Friday, February 17, 2017 at 1:40:27 AM UTC+8, Ian Lance Taylor wrote: > > On Wed, Feb 15, 2017 at 11:29 PM, Wen Hailong <723...@gmail.com > <javascript:>> wrote: > > i want to debug golang system library. can step code one by one > > Go programs are built with debugging info by default. You need to > take special action to avoid the debugging info. > > But note https://golang.org/doc/gdb . You may also want to try > https://github.com/derekparker/delve . > > 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.