one of the most important aspect of software development is debugging in this section we'll see different ways of python debugging either with built-in debugger or third party debuggers pdb the python debugger the module pdb supports setting breakpoints breakpoint is an intentional pause of the programwhere you can get more information about the programs state to set breakpointinsert the line pdb set_trace(example pdb_example py import pdb = = pdb set_trace(total pdb set_trace(we have inserted few breakpoints in this program the program will pause at each breakpoint (pdb set_trace()to view variables contents simply type the variable name :\python\python >python pdb_example py :\python\python \pdb_example py( )(-total (pdbx (pdby (pdbtotal **nameerrorname 'totalis not defined (pdbpress or continue to go on with the programs execution until the next breakpoint (pdbc --return- :\python\python \pdb_example py( )()->none -total (pdbtotal