Author facundobatista
Recipients facundobatista
Date 2020-01-09.13:25:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1578576348.64.0.412986299263.issue39275@roundup.psfhosted.org>
In-reply-to
Content
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/foo.py", line 3, in <module>
    print("line 2")
NameError: name 'broken' is not defined
```
History
Date User Action Args
2020-01-09 13:25:48facundobatistasetrecipients: + facundobatista
2020-01-09 13:25:48facundobatistasetmessageid: <1578576348.64.0.412986299263.issue39275@roundup.psfhosted.org>
2020-01-09 13:25:48facundobatistalinkissue39275 messages
2020-01-09 13:25:48facundobatistacreate