NYC's Blog - 解决Mac 10.12.1及后续版本无法使用dlv调试go问题 的评论 http://niyanchun.com/solve-dlv-bug-on-mac.html zh-CN Notice:因为美国大选,博客好久没更新了。(有什么关系吗?...)之前有一篇博客《Mac安装GDB》里面介绍过如何在Mac上面安装GDB,并调试Go程序。但是,作为一个新兴语言,GDB对于G... Tue, 19 Sep 2017 22:34:59 +0800 Tue, 19 Sep 2017 22:34:59 +0800 chaim http://niyanchun.com/solve-dlv-bug-on-mac.html/comment-page-1#comment-342 http://niyanchun.com/solve-dlv-bug-on-mac.html/comment-page-1#comment-342 Tue, 19 Sep 2017 22:34:59 +0800 chaim 我也遇到这个问题 请问解决了吗 如何解决?

]]>
http://niyanchun.com/solve-dlv-bug-on-mac.html/comment-page-1#comment-342#comments
william.yang http://niyanchun.com/solve-dlv-bug-on-mac.html/comment-page-1#comment-319 http://niyanchun.com/solve-dlv-bug-on-mac.html/comment-page-1#comment-319 Sun, 20 Aug 2017 19:25:04 +0800 william.yang CERT=dlv-cert.key make install [6bff4d1]
go install -ldflags="-s -X main.Build=6bff4d19706b46b7bd350212048e4a140caad271" github.com/derekparker/delve/cmd/dlv
codesign -s "dlv-cert.key" /bin/dlv
/bin/dlv: No such file or directory
make: * [install] Error 1

]]>
http://niyanchun.com/solve-dlv-bug-on-mac.html/comment-page-1#comment-319#comments
NYC http://niyanchun.com/solve-dlv-bug-on-mac.html/comment-page-1#comment-202 http://niyanchun.com/solve-dlv-bug-on-mac.html/comment-page-1#comment-202 Wed, 01 Mar 2017 16:21:42 +0800 NYC sudo chown root:wheel /usr/local/bin/brew 试试

]]>
http://niyanchun.com/solve-dlv-bug-on-mac.html/comment-page-1#comment-202#comments
Golang爱好者 http://niyanchun.com/solve-dlv-bug-on-mac.html/comment-page-1#comment-201 http://niyanchun.com/solve-dlv-bug-on-mac.html/comment-page-1#comment-201 Wed, 01 Mar 2017 16:06:20 +0800 Golang爱好者 使用正常的用户安装报错:
Error: Could not create /usr/local/Cellar
Check you have permission to write to /usr/local
使用 root 用户安装报错:
Error: Running Homebrew as root is extremely dangerous and no longer supported.
As Homebrew does not drop privileges on installation you would be giving all
build scripts full access to your system.
博主现在的解决方案是什么?

]]>
http://niyanchun.com/solve-dlv-bug-on-mac.html/comment-page-1#comment-201#comments
Golang爱好者 http://niyanchun.com/solve-dlv-bug-on-mac.html/comment-page-1#comment-200 http://niyanchun.com/solve-dlv-bug-on-mac.html/comment-page-1#comment-200 Wed, 01 Mar 2017 16:03:03 +0800 Golang爱好者 最新的解决方案不可以用呀,使用 brew 现在是不允许作为 root 权限运行,不使用 root 权限又会报权限禁止的错误

]]>
http://niyanchun.com/solve-dlv-bug-on-mac.html/comment-page-1#comment-200#comments
NYC http://niyanchun.com/solve-dlv-bug-on-mac.html/comment-page-1#comment-174 http://niyanchun.com/solve-dlv-bug-on-mac.html/comment-page-1#comment-174 Sun, 22 Jan 2017 09:18:16 +0800 NYC 看错误应该是你的证书生成的有问题,你参看下官方的wiki重新生成一下证书试试:https://github.com/derekparker/delve/wiki/Installation-on-OSX

]]>
http://niyanchun.com/solve-dlv-bug-on-mac.html/comment-page-1#comment-174#comments
tianlei http://niyanchun.com/solve-dlv-bug-on-mac.html/comment-page-1#comment-173 http://niyanchun.com/solve-dlv-bug-on-mac.html/comment-page-1#comment-173 Sun, 22 Jan 2017 00:57:31 +0800 tianlei 没有解决问题 tl:delve tianlei$ CERT=dlv-cert make install
go install -ldflags="-s -X main.Build=39f4d937a46782460eb978c98f2ece07cb2df9c2" github.com/derekparker/delve/cmd/dlv
codesign -s "dlv-cert" /Users/tianlei/myGolang/bin/dlv
dlv-cert: ambiguous (matches "dlv-cert" in /Users/tianlei/Library/Keychains/login.keychain-db and "dlv-cert" in /Library/Keychains/System.keychain)
make: * [install] Error 1

]]>
http://niyanchun.com/solve-dlv-bug-on-mac.html/comment-page-1#comment-173#comments
NYC http://niyanchun.com/solve-dlv-bug-on-mac.html/comment-page-1#comment-172 http://niyanchun.com/solve-dlv-bug-on-mac.html/comment-page-1#comment-172 Sat, 21 Jan 2017 10:59:09 +0800 NYC 你是按照我最新更新的方法吗?dlv version和type dlv看下输出。原来的方法编译的dlv在GOBIN下,brew安装的/usr/local/bin下面。所以PATH的顺序要注意下,以及软连接要做正确。要链接到/usr/local/bin下的dlv。

]]>
http://niyanchun.com/solve-dlv-bug-on-mac.html/comment-page-1#comment-172#comments
宁静致远 http://niyanchun.com/solve-dlv-bug-on-mac.html/comment-page-1#comment-171 http://niyanchun.com/solve-dlv-bug-on-mac.html/comment-page-1#comment-171 Sat, 21 Jan 2017 02:20:42 +0800 宁静致远 能加下qq吗:4402935 我根据你的方法还是没有成功呢

]]>
http://niyanchun.com/solve-dlv-bug-on-mac.html/comment-page-1#comment-171#comments