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 metadata提取的PDF元数据,如何转换为一个Excel
  • ¥15 关于arduino编程toCharArray()函数的使用
  • ¥100 vc++混合CEF采用CLR方式编译报错
  • ¥15 coze 的插件输入飞书多维表格 app_token 后一直显示错误,如何解决?
  • ¥15 vite+vue3+plyr播放本地public文件夹下视频无法加载
  • ¥15 c#逐行读取txt文本,但是每一行里面数据之间空格数量不同
  • ¥50 如何openEuler 22.03上安装配置drbd
  • ¥20 ING91680C BLE5.3 芯片怎么实现串口收发数据
  • ¥15 无线连接树莓派,无法执行update,如何解决?(相关搜索:软件下载)
  • ¥15 Windows11, backspace, enter, space键失灵