V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
The Go Programming Language
http://golang.org/
Go Playground
Go Projects
Revel Web Framework
common07
V2EX  ›  Go 编程语言

Sierra 10.12.1 update 暂时使 delve 不可用,求推荐 go debugger

  •  
  •   common07 · 2016-11-07 19:40:48 +08:00 · 1027 次点击
    这是一个创建于 2719 天前的主题,其中的信息可能已经有所发展或是发生改变。

    macOS Sierra 10.12.1 update 导致 delve 在运行时出现: debugger.go:55: launching process with args: [./debug] could not launch process: could not get thread count

    相关 Github Issue OSX: cannot get thread count

    该问题 delve 目前还未修复

    求推荐除 GDB 外好用的 go debugger :)

    7 条回复    2016-11-08 18:22:22 +08:00
    janxin
        1
    janxin  
       2016-11-08 08:25:53 +08:00 via iPhone
    lizon
        2
    lizon  
       2016-11-08 10:39:39 +08:00
    IntelliJ IDEA + Go 插件
    w07128597
        3
    w07128597  
       2016-11-08 11:01:09 +08:00
    前两天我更新后也出这个问题了, 然后一看 Issue.. 全是这样... 我就换成 pc 环境了
    @lizon IntelliJ IDEA + Go debug 也是用的 delve
    lizon
        4
    lizon  
       2016-11-08 11:07:36 +08:00
    @w07128597 原来如此,看来只有先 print 大法好了
    valkjsaaa
        5
    valkjsaaa  
       2016-11-08 12:08:10 +08:00
    楼上和楼上上为啥没人理 @janxin 的正解答案呢...

    楼主都找到了这个 issue 还不看下面有人提出的正确解法 = =
    common07
        6
    common07  
    OP
       2016-11-08 17:53:43 +08:00
    @valkjsaaa 这个 commit 我看到了,就是想等 merge 后再用
    janxin
        7
    janxin  
       2016-11-08 18:22:22 +08:00 via iPhone
    目前没有除 delve 的更好选择了。

    当然我是 print 大法的忠实用户
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5379 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 531ms · UTC 09:03 · PVG 17:03 · LAX 02:03 · JFK 05:03
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.