How to show the current line number with pdb.set_trace()

Peng Yu pengyu.ut at gmail.com
Fri May 21 23:47:42 EDT 2010


After starting pdb.set_trace(), python doens't show line number. Could
you let me know how to print the number by default so that I know
where the current line is?

-- 
Regards,
Peng



More information about the Python-list mailing list