eventuallyyou will need to debug much bigger programs programs that use subroutines and sometimesthe problem that you're trying to find will lie inside subroutine consider the following program import pdb def squar(xy)out_squared ^ ^ return out_squared if __name__ ="__main__"#pdb set_trace(print (squar( )now on running the above programc:\python\python >python pdb_example py :\python\python \pdb_example py( )(-print (squar( )(pdbwe can use to get helpbut the arrow indicates the line that' about to be executed at this point it' helpful to hit to to step into that line (pdbs --call- :\python\python \pdb_example py( )squar(-def squar(xy)this is call to function if you want an overview of where you are in your codetry (pdbl import pdb def squar(xy)-out_squared ^ ^ return out_squared if __name__ ="__main__" pdb set_trace( print (squar( )[eof