Skip to main content

Home/ VIM Editor/ Group items tagged debug

Rss Feed Group items tagged

reckoner reckoner

Debugging Python in VIM- Peter's Blog - 0 views

  • Following my thoughts yesterday, here are some VIM python scripts to add python breakpoint and debugging features to VIM. With this set up the F7 key will set a breakpoint on a line of code, Shift-F7 will remove all breakpoints and Shift-F12 will execute a script in the python debugger. This only runs on windows as far as I know, because it uses the 'start' command to launch the debugger in a seperate process without VIM waiting for it to finish. This allows you to look through the source code (and fix it) while the debugging is still in progress.
reckoner reckoner

vimpdb - Google Code - 0 views

  • Tired of debugging Python using print statements? Don't like the cumbersome PDB (Python debugger) console? Prefer using Vim for coding your Python programs? VimPdb is the solution - allows debugging Python in an IDE-fashion, right within the Vim editor.
reckoner reckoner

vim : Message: Re: Tipps for debugging vim scripts? - 0 views

  • I use Decho; its an instrumented-code type of debugging tool. You can get the Decho plugin from: http://vim.sourceforge.net/scripts/script.php?script_id=120 -or- http://mysite.verizon.net/astronaut/vim/index.html#DECHO (this latter one is always the most up-to-date) To install if you're using vim7.1: 1. Install a new version of Decho: vim Decho.vba.gz :so % :q Regards, Chip Campbell
  • >What is the best practice to have variable values being echod/written >somewhere during execution which doens't impact the execution negatively?
reckoner reckoner

Tip #227 - Power of :g : for more context - 0 views

  • Display context (5 lines) for all occurences of a pattern     :g/<pattern>/z#.5     :g/<pattern>/z#.5|echo "=========="     << same as first, but with some beautification >> Delete all lines matching a pattern     :g/<pattern>/d Delete all blank lines (just an example for above)     :g/^\s*$/d Double space the file     :g/^/pu =\"\n\"     :g/^/pu _     << the above one also works >> Copy all lines matching a pattern to end of file     :g/<pattern>/t$ Yank all lines matching a pattern to register 'a'     0"ay0:g/<pattern>/y A Increment the number items from current line to end-of-document by one     :.,$g/^\d/exe "normal! \<c-a>" Comment (C) lines containing "DEBUG" statements     g/^\s*DEBUG/exe "norm! I/* \<Esc>A */\<Esc>" A Reverse lookup for records (eg: An address book, with Name on start-of-line and fields after a space)     :g/<patern>?^\w?p               "if only name is interested     :g/<patern>/ka|?^\w?p|'ap       "if name and the lookup-line is interested     :g/<patern>/?^\w?|+,/^[^ ]/-1p  "if entire record is interested Reverse a file (just to show the power of 'g')     :g/^/m0
reckoner reckoner

The Clewn project -- gdb vim - 0 views

  • Clewn implements full gdb support in the vim editor: breakpoints, watch variables, gdb command completion, assembly windows, etc.
reckoner reckoner

SourceForge.net: pyclewn - 0 views

  • Pyclewn is a python program that allows the use of the vim editor as a front end to a debugger. Pyclewn currently supports the gdb debugger.
reckoner reckoner

Debugger for Vim Code? - vim_use | Google Groups - 0 views

  • >  I was wondering if there's any debugger written specifically for Vim >  code?   I've got a thorny problem on a vim plugin on Solaris (I can't >  share the code) and stepping through the code would be lovely (though I >  realize this could be difficult, given the nature of vim). As I am sure you found out from Tony's post Vim has a built in debugger for Vim scripts. What I would suggest to you is to download and use this plugin by Hari: " BreakPts - Debug Vim Scripts " Author: Hari Krishna Dara " http://www.vim.org/scripts/script.php?script_id=618 I use it regularly and love it. HTH, Dave
1 - 8 of 8
Showing 20 items per page