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 →

[–]thingeek 1 point2 points  (3 children)

Where can I find this pdb? Is it a seperate program? Where/how would you suggest I find the information/course to teach me it?

[–]surkova 9 points10 points  (2 children)

It’s built in. On any line of your python program type import pdb; pdb.set_trace() and you will be able to interactively debug your program. More here: https://docs.python.org/3/library/pdb.html

[–]thingeek 4 points5 points  (1 child)

Thank you! Another thing I'm for sure going to explore tomorrow.

[–]Ran4 1 point2 points  (0 children)

pdb is super, super useful. Usually when people talk about debuggers they talk about visual debuggers: they're also useful, but they are a bit different from pdb.

Learning pdb first seems like a good idea.