alexmojaki / birdseye

Graphical Python debugger which lets you easily view the values of all evaluated expressions
https://birdseye.readthedocs.io
MIT License
1.65k stars 71 forks source link

Condition in while loop does not depend on loop iteration #61

Closed alexmojaki closed 6 years ago

alexmojaki commented 6 years ago

Sample script:

from birdseye import eye

@eye
def main():
    i = 0
    while i < 3:
        i += 1
        print(i)

main()

While the i in print(i) changes when changing the loop iteration, the one in i < 3 does not.