Author facundobatista
Recipients facundobatista
Date 2020-01-09.13:25:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
When using pdb to debug, the traceback is off by one line.

For example, this simple script:

print("line 1")
import pdb;pdb.set_trace()
print("line 2")
print("line 3", broken)
print("line 4")

...when run produces the following traceback (after hitting 'n' in pdb, of course):

Traceback (most recent call last):
  File "/home/facundo/", line 3, in <module>
    print("line 2")
NameError: name 'broken' is not defined
Date User Action Args
2020-01-09 13:25:48facundobatistasetrecipients: + facundobatista
2020-01-09 13:25:48facundobatistasetmessageid: <>
2020-01-09 13:25:48facundobatistalinkissue39275 messages
2020-01-09 13:25:48facundobatistacreate