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

2010-05-23 Thread Miki
Hello, > 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? When you get the PDB prompt, just type "l". It'll show some code with an error on the current line. You can also type "?

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

2010-05-21 Thread Peng Yu
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 -- http://mail.python.org/mailman/listinfo/python-list