Irit Katriel <[email protected]> added the comment:
iritkatriel@Irits-MBP cpython % cat pdb_traceback.py
import pdb
x = 0
while True:
pdb.set_trace()
y = "line of code not triggering an error"
x += 1
assert x != 3
iritkatriel@Irits-MBP cpython % cat pdb_traceback.py
import pdb
x = 0
while True:
pdb.set_trace()
y = "line of code not triggering an error"
x += 1
assert x != 3
iritkatriel@Irits-MBP cpython % ./python.exe pdb_traceback.py
> /Users/iritkatriel/src/cpython/pdb_traceback.py(8)<module>()
-> y = "line of code not triggering an error"
(Pdb) c
> /Users/iritkatriel/src/cpython/pdb_traceback.py(8)<module>()
-> y = "line of code not triggering an error"
(Pdb) c
> /Users/iritkatriel/src/cpython/pdb_traceback.py(8)<module>()
-> y = "line of code not triggering an error"
(Pdb) c
Traceback (most recent call last):
File "/Users/iritkatriel/src/cpython/pdb_traceback.py", line 10, in <module>
assert x != 3
^^^^^^^^^^^^^
AssertionError
----------
nosy: +iritkatriel
status: open -> pending
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue16482>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com