comparison Python/traceback.c @ 45151:643c1397f954 legacy-trunk

#1750076: Debugger did not step on every iteration of a while statement. The mapping between bytecode offsets and source lines (lnotab) did not contain an entry for the beginning of the loop. Now it does, and the lnotab can be a bit larger: in particular, several statements on the same line generate several entries. However, this does not bother the settrace function, which will trigger only one 'line' event. The lnotab seems to be exactly the same as with python2.4.
author Amaury Forgeot d'Arc <amauryfa@gmail.com>
date Mon, 04 Feb 2008 21:45:05 +0000
parents a3bf0e24b91e
children 840064802952
comparison
equal deleted inserted replaced
45149:f69da3f57217 45151:643c1397f954