From: Peng Yu on
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
From: Miki on
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 "?" for help.

HTH,
--
Miki