Skip to content

Tool for automatically adding and removing print statements for the lazy

Notifications You must be signed in to change notification settings

philass/justPrintIt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

justPrintIt

justPrintIt automatically inserts and removes print statements. Super handy when a small program crashes and you need to find the line that the program crashes at (and for whatever reason its not obvious). justPrintIt is written in Python so it should just run. Currently justPrintIt works for C++ programs.

Running

If you want justPrintIt as a CLI tool you can simply add an alias

# in your .bash_profile .bashrc, .zshrc or equivalent
alias justprintit="/path/to/justPrintIt.py"

Usage

Adding debug lines simply pass the -a flag. Removing debug lines simply pass the -r flag.

$ justprintit

Usage : 
	justPrintIt -a fileName.cpp
	JustPrintIt -r fileName.cpp

About

Tool for automatically adding and removing print statements for the lazy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages