debug call function() to debug a function in vim
2011-09-04
187 words
1 min read
Have you ever wished that you could either see what is going on initially at the vim startup like you could do with C program in the gdm mode, but really did not want to go through gdb. Or rather you sometime felt that some function defined by some plugin is causing some issue and you wanted to debug just that function. Well you need not wish anymore, the functionality is already there.
If you want to debut a function then you can simply call the function in debug mode, while you are in vim mode.
1
|
You can use continue/next/quit and finish like in any other debugger out there in the wild.
And if you wanted to debug the startup then you can do this :
1
|
HTH.
You can get more info here.
Related articles
- Play with vim colors. (amit-agarwal.co.in)
- Using Vim for Java programming – Maven Integration (tellspk.wordpress.com)
- 6 Killer Smarty Features You Need to Know (xemion.com)
- What is in your .vimrc (stackoverflow.com)
Related Articles:
- 2011/04/16 vim autocomplete – automagically without tab.
- 2010/08/02 when you press f9 ‘paste’ is on , press f9 again and ‘paste’ is off, and so forth (works in insert-mode and command-mode)
- 2010/02/03 Built-in lists in vim
- 2011/03/16 what is vim in 6Kb..
- 2011/03/09 All in one solution for all the scripts of vim from vim.org
Authored By Amit Agarwal
Amit Agarwal, Linux and Photography are my hobbies.Creative Commons Attribution 4.0 International License.