Python Debugging With Pdb Quiz

Interactive Quiz ⋅ 10 Questions
By Joseph Peart

In this quiz, you’ll test your understanding of Python Debugging With Pdb.

By working through this quiz, you’ll revisit how to print variables and expressions at the (Pdb) prompt, step through code with n and s, set breakpoints that only fire when a condition holds, watch expressions as they change, and read a stack trace to find out which function called the one you’re paused in.

The quiz contains 10 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the quiz, you’ll receive a total score. The maximum score is 100%. Good luck!

Related Resources

Python Development Tools Artwork

Course

Debugging in Python With pdb

In this hands-on course, you'll learn the basics of using pdb, Python's interactive source code debugger. pdb is a great tool for tracking down hard-to-find bugs, and it allows you to fix faulty code more quickly.

intermediate tools

Python Debugging With Pdb (Guide)

Tutorial

Python Debugging With Pdb

In this hands-on tutorial, you'll learn the basics of using pdb, Python's interactive source code debugger. Pdb is a great tool for tracking down hard-to-find bugs and allows you to fix faulty code more quickly.

intermediate stdlib tools