This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author iritkatriel
Recipients Aaron.Meurer, akaptur, asmeurer, asvetlov, blueyed, inglesp, iritkatriel, ishimoto, jcea, ned.deily, serhiy.storchaka, xdegaye, xtreak
Date 2022-01-10.23:29:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1641857388.94.0.406147669654.issue16482@roundup.psfhosted.org>
In-reply-to
Content
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
History
Date User Action Args
2022-01-10 23:29:48iritkatrielsetrecipients: + iritkatriel, jcea, ishimoto, blueyed, ned.deily, asvetlov, Aaron.Meurer, xdegaye, inglesp, serhiy.storchaka, akaptur, asmeurer, xtreak
2022-01-10 23:29:48iritkatrielsetmessageid: <1641857388.94.0.406147669654.issue16482@roundup.psfhosted.org>
2022-01-10 23:29:48iritkatriellinkissue16482 messages
2022-01-10 23:29:48iritkatrielcreate