下载 SublimeGDB
- 在sublime text 2 中 Install Package -> SublimeGDB
- 重启Sublime Text 2
- 修改 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
转贴:http://www.cnblogs.com/ztiandan/archive/2013/01/11/2856626.html
有疑问加站长微信联系(非本文作者)