I don't know, now I can use gdb to debug go code, and it can show code sucessfully, but it cannot show depended package code. need to set source file folder?
在 2017年3月25日星期六 UTC+8下午10:37:44,YZ Xie写道: > > > down votefavorite > <http://stackoverflow.com/questions/43014121/lldb-support-for-golang#> > > if code and binary program is not in the same directory, use gdb and lldb > to debug golang program, it will only show assembly code, not go code, > > with gdb, we can add > > add-auto-load-safe-path $GOROOT/src/runtime/runtime-gdb.py > > to .gdbinit to make things around, but lldb how to solve it? how to make > lldb show source code? > -- 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.