Python Developer Question:

Can you list Down Some Of The PDB Commands For Debugging Python Programs?

Python Developer Interview Question
Python Developer Interview Question

Answer:

Here are a few PDB commands to start debugging Python code.

☛ Add breakpoint – <b>
☛ Resume execution – <c>
☛ Step by step debugging – <s>
☛ Move to next line – <n>
☛ List source code – <l>
☛ Print an expression – <p>


Previous QuestionNext Question
Explain me what Are The Principal Differences Between The Lambda And Def?Do you know what are Python decorators?