diff options
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-02-04 21:45:05 (GMT) |
---|---|---|
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-02-04 21:45:05 (GMT) |
commit | 6fd03bb6070586a3b069c90cf3892ba7573d6bf5 (patch) | |
tree | c6ac731d3091f28f849d504bb135a621207b03b8 /Misc | |
parent | 578a8caf43ae0d52b37444754adf6f4c404a123c (diff) | |
download | cpython-6fd03bb6070586a3b069c90cf3892ba7573d6bf5.zip cpython-6fd03bb6070586a3b069c90cf3892ba7573d6bf5.tar.gz cpython-6fd03bb6070586a3b069c90cf3892ba7573d6bf5.tar.bz2 |
#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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -388,6 +388,10 @@ Core and builtins Library ------- +- #175006: The debugger used to skip the condition of a "while" statement + after the first iteration. Now it correctly steps on the expression, and + breakpoints on the "while" statement are honored on each loop. + - #1765140: add an optional delay argument to FileHandler and its subclasses. Defaults to false (existing behaviour), but if true, defers opening the file until the first call to emit(). |