Diez B. Roggisch wrote: > pranav wrote: > > > Hi, > > I am new to python. I wanted to know how can i debug a python program. > > Is there a gdb equivalent? > > pdb, a standard module. > > I use it like this: > > > def some_method_I_want_to_debug(): > import pdb > pdb.set_trace() > # more code to come > > > But that is only one way of using it - read the docs. > > Diez
Thanks -- http://mail.python.org/mailman/listinfo/python-list