Python Developer Question:
Can you list Down Some Of The PDB Commands For Debugging Python Programs?
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>
☛ 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 Question | Next Question |
Explain me what Are The Principal Differences Between The Lambda And Def? | Do you know what are Python decorators? |