Created
June 1, 2014 22:37
-
-
Save mugyu/6eea3e4f5906bf5e9eb6 to your computer and use it in GitHub Desktop.
vimscript の デバッグをする時のあれやこれや
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Learn Vimscript the Hard Way - Echoing Messages | |
# http://learnvimscriptthehardway.stevelosh.com/chapters/01.html | |
# | |
echomsg string(obj) | |
:message | |
" | |
" NaN days - Vimscript のデバッグに使えそうなコマンド | |
" http://subtech.g.hatena.ne.jp/motemen/20080626/1214451602 | |
" | |
" 関数が定義されているファイルを調べる | |
:verbose function /FunctionName/ | |
" スクリプトが実行される様子を詳しく眺める | |
:99verbose YourCommandHere | |
" デバッグする (ステップ実行、ブレークポイントなど) | |
:debug YourCommandHere | |
" | |
" vimscript - Debugging Vim plugins with call traces - Stack Overflow | |
" http://stackoverflow.com/questions/9656429/debugging-vim-plugins-with-call-traces | |
" | |
" $ vim -V[N]{filename} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment