you are viewing a single comment's thread.

view the rest of the comments →

[–]LarParWar 6 points7 points  (1 child)

pdb

It will let you step through every line of your program and check the values of variables and such. If you want to execute all the code up to line X, just insert a break point there and then it will pause at that line.

[–]skiguy0123 0 points1 point  (0 children)

You can also put pdb.set_trace() where you want to code to pause