SublimeGDB调试Golang
2013-01-11 17:45 Danny.tian 阅读(1984) 评论(0) 编辑 收藏 举报下载 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
至此结束.