Search the courses, subjects, tracks, games and features, or jump straight to a page.
5 cards from this section. Quick, good the night before a test.
What command would you use to step into a function in pdb?
Think about what 's' might stand for.
How can you continue execution in pdb?
Consider what 'c' might mean in terms of flow.
What command in pdb continues code execution until the next breakpoint?
Think of continuing a game.
True or False: ipdb is a more user-friendly version of pdb.
Remember both tools and their user interfaces.
You have a Python script that uses multiple functions. How would you go about debugging issues effectively in it using pdb?
Think of the function calls as stepping stones to isolate where things go wrong.
Explain why using print statements in production code can be problematic, and how debugging can be structured instead.
Consider the visibility of debug information in a live system.
5 more questions in this section. Enroll free to practise them all.
Enroll free