SublimeGDB调试Golang

下载 SublimeGDB

  1. 在sublime text 2 中 Install Package -> SublimeGDB
  2. 重启Sublime Text 2
  3. 修改 workingdir 为工程所在目录,修改 commandline中executable为可执行文件名,如"workingdir": "${home}/gocode/bin", "commandline": "gdb --interpreter=mi --args ./revel run myapp"

 常见命令:

  • Launch with F5
  • Step over with F10
  • Step into with F11
  • Step out with Shift+F11

 

至此结束.

你可能感兴趣的:(sublime)