From: Peng Yu on 21 May 2010 23:47 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 23 May 2010 17:30 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
|
Pages: 1 Prev: Traceback spoofing Next: getting local area connection information through python in windows |