打赏

代码调试 dlv安装和使用

dlv安装和使用

$ git clone https://github.com/go-delve/delve.git $GOPATH/src/github.com/go-delve/delve
或者 go get github.com/derekparker/delve/cmd/dlv

$ cd $GOPATH/src/github.com/go-delve/delve
$ make install

使用

https://github.com/guyan0319/golang_development_notes/blob/master/zh/1.7.md

GDB使用

https://www.huweihuang.com/golang-notes/test/gdb.html

相关链接

https://juejin.im/entry/5d5ce39ef265da039a288b85
https://www.jianshu.com/p/e74e940a64d9

posted @ 2020-02-03 21:38  苍山落暮  阅读(2212)  评论(0编辑  收藏  举报