首页 > 代码库 > VIM+Pyclewn 调试C/C++
VIM+Pyclewn 调试C/C++
(gdb) mapkeys C-B : break "${fname}":${lnum} # set breakpoint at current line C-D : down C-E : clear "${fname}":${lnum} # clear breakpoint at current line C-N : next C-P : print ${text} # print value of selection at mouse position C-U : up C-X : print *${text} # print value referenced by word at mouse position C-Z : sigint # kill the inferior running program S-A : info args S-B : info breakpoints S-C : continue S-F : finish S-L : info locals S-Q : quit S-R : run S-S : step S-W : where S-X : foldvar ${lnum} # expand/collapse a watched variable"gvim解决菜单乱码 language messages zh_CN.utf-8source $VIMRUNTIME/delmenu.vimsource $VIMRUNTIME/menu.vim1. 编译g++ -g std=c++11 c++11.cpp -o c++11.out2. 打开gvimpyclewn 3. 打开源文件:e xxx.cpp4. gdb导入目标文件:Cfile xxx5. 映射快捷键:Cmapkeys
安装:http://pyclewn.sourceforge.net/install.html
tar xzf pyclewn-1.11.py3.tar.gzcd pyclewn-1.11.py3python setup.py install --force
下载: http://sourceforge.net/projects/pyclewn/files
pyclewn参考:
http://easwy.com/blog/archives/advanced-vim-skills-vim-gdb-pyclewn/
VIM+Pyclewn 调试C/C++
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。