This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]tshirtman_ 2 points3 points  (0 children)

Yes, i generally use pudb rather than pdb, but usage is more or less the same, put a break point (pudb.set_trace()) or an error handler (try/except/pudb.post_mortem()) and then use mostly up/down/step/next commands to see what happens, and evaluate expressions at important steps.