Discussion RoomCategory: Interview Questionwhata re the important PDB commands in python ?
Ashly asked 3 months ago

Most used PDB Commands are:

Command     Key    Description

Next                 n             Execute the next line

Print                p               Print the value of the variable following p

Repeat          Enter         Repeat the last entered command

List                 l                  Show few lines above and below the current line

Step               s                 Step into a subroutine

Return           r                Run until the current subroutine returns

Continue      c                    Stop debugging the current breakpoint and continue normally

Quit             q                    Quit pdb abruptly

Follow us on Social Media
Your Answer