Message359678
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
``` |
|
Date |
User |
Action |
Args |
2020-01-09 13:25:48 | facundobatista | set | recipients:
+ facundobatista |
2020-01-09 13:25:48 | facundobatista | set | messageid: <1578576348.64.0.412986299263.issue39275@roundup.psfhosted.org> |
2020-01-09 13:25:48 | facundobatista | link | issue39275 messages |
2020-01-09 13:25:48 | facundobatista | create | |
|