Message409434
Consider simple script:
```
for i in range(1):
import pdb
pdb.set_trace()
x = y + z
```
After running it and pressing 'c' to continue:
```
test$ python test.py
> /Users/bedrich.pisl/test/test.py(1)<module>()
-> for i in range(1):
(Pdb) c
```
I get error, but with wrong error line
```
Traceback (most recent call last):
File "/Users/bedrich.pisl/test/test.py", line 1, in <module>
for i in range(1):
NameError: name 'y' is not defined
```
The error is actually on line 5 not 1. |
|
Date |
User |
Action |
Args |
2021-12-31 20:46:44 | bedapisl | set | recipients:
+ bedapisl |
2021-12-31 20:46:44 | bedapisl | set | messageid: <1640983604.86.0.570920927154.issue46215@roundup.psfhosted.org> |
2021-12-31 20:46:44 | bedapisl | link | issue46215 messages |
2021-12-31 20:46:44 | bedapisl | create | |
|