jrbl / python-wtf

WTF is a small debugging tool to make inserting useful data traces into your programs easy.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WTF is a Python library that tries to help you understand where things came from. It's intended for manual tracing of executing programs. Anywhere one would otherwise be using print statetments, one can instead use wtf statements.

Simply calling wtf() defaults to printing the name of the current function and wtf line number and the function names and line numbers of the previous four stack frames.

You can configure where output gets written to, how many stack frames to examine, and whether or not to inspect variable declarations as it walks up the stack.

About

WTF is a small debugging tool to make inserting useful data traces into your programs easy.

License:Apache License 2.0


Languages

Language:Python 100.0%