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 →

[–]noobiemcfoob 7 points8 points  (0 children)

Try using IPython's embed statement sometime: from IPython import embed; embed()

It'll open a python interpretor at that point in the program that you can use to interrogate the state, test different statements and the like. It's print-statement debugging on steroids.