My version of Python's pdb debugger pdb with convenience functions.
- Jump to my code and out of library code (
my
) - Go to top and bottom of the stack (
top
andbottom
). - Interact with pdb object directly (
get_pdb
) useful for customizing pdb - Interact with the frame object (
get_frame
). You can use this to look at my code - Exclude directories from
where
to make the output more readable (pretty_where
orwhere
)
pip install tomspdb
python3 -m tomspdb script.py
- This blog post by Mauricio R. Cruz . I found this code sample very useful
- ipdb and pdbpp are more useful alternatives to pdb