[go-nuts] Re: LLDB only works for project contains one go source file

2017-03-25 Thread xiedeacc
hi, I have meet the same question, did you solved it ? 在 2016年10月26日星期三 UTC+8下午7:20:01,Leopold Freeman写道: > > Hi: > I upgraded my MBP to macOS Sierra, and gdb was broke because Apple > tightened security policy. So I compiled LLDB from trunk according to here >

[go-nuts] problem about lldb debug go code

2017-03-25 Thread xiedeacc
down votefavorite 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