sponsor Vim development Vim logo Vim Book Ad

debugstring : Debug printf()-style at the speed of light

 script karma  Rating 45/14, Downloaded by 636  Comments, bugs, improvements  Vim wiki

created by
Nikos Koukis
 
script type
utility
 
description
For a detailed and more up-to-date description of the plugin refer to the Github Page (https://github.com/bergercookie/vim-debugstring)
debugstring aims to automate standard debugging operations (e.g., segfaults). It does that by facilitating the ubiquitous printf()-debugging i.e., scatter logging statements around the various code snippets that you want to test.

The form and syntax of the logging statements target the language at hand (e.g., use printf() in C/C++ but puts() in Ruby)

For a more detailed outline of debugstring check the docs (:h debugstring)
 
install details
Using a runtimepath/package manage

I would personally recommend using Pathogen for installing the plugin but any other installation method (e.g., Vundle) should do the job (if not please raise an issue on Github)

git clone https://github.com/bergercookie/vim-debustring.git ~/.vim/bundle/vim-debugstring

Manual installation

Copy the plugin files into the corresponding directories under ${HOME}/.vim (Linux) or $VIMFILES (Windows).
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
debugstring.tar.gz 0.1 2018-01-02 7.0 Nikos Koukis Initial upload
ip used for rating: 3.14.132.214

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github