dowe98261 2014-12-29 15:39
浏览 121
已采纳

Ubuntu下的IntelliJ IDEA go-lang-idea-plugin Alpha调试

I am trying to debug Go 1.4 using IntelliJ Idea 14.0.2 and the current go-lang-idea-plugin alpha 0.9.16-dev-0.9.16-alpha.9 from http://github-intellij-plugin.appspot.com/go-lang-plugin-org/go-lang-idea-plugin/alpha.xml . As mentioned in https://github.com/go-lang-plugin-org/go-lang-idea-plugin/pull/588 this should work.

The plugin is working fine for running "Hello world", but my "Debug"-Button is greyed out. I already updated gdb to version 6.8.1, versions 6.8 and 6.7.7 did not work either. This is my debug configuration : Debug config

What am I missing? Do I need a specific gdb version or is the problem somewhere else? Or is it because I am using Go 1.4?

  • 写回答

1条回答 默认 最新

  • dongshi4773 2014-12-29 15:52
    关注

    The solution was :

    1) Go to "Edit configuration" => "Run"

    2) Uncheck "Build before run"

    3) Check "Build before run"

    4) Check "Enable debugging" (was greyed out before toggling "Build before run" twice).

    So it was a strange UI issue.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 画个数据流程图,手画也行
  • ¥60 AS自带模拟器AVD Root 和 Xposed安装
  • ¥15 Esp32的microPython设备中main.py文件无法开机自启动
  • ¥30 哪位搞Android的编程师可以帮我远程一下,悬赏30元
  • ¥15 solidity部署上合约,可以mint,也继承接口了,在区块链也不显示代币名字
  • ¥15 讨论 博士论文交互项怎么讨论?
  • ¥50 在集成BiLSTM和GCN模型时遇到了问题
  • ¥33 集成BiLSTM模型和GCN模型时,前模型的输出不匹配后模型的输入
  • ¥15 关于液体厚度提取,和铺展轨迹数据化处理
  • ¥20 对方微信是wxid如何添加成好友?或者转换成微信号?