Jan-15-2023, 06:31 PM
(This post was last modified: Jan-15-2023, 06:31 PM by deanhystad.)
The best way to demonstrate the wrong behavior is to produce an example that allows others to reproduce what you are seeing. So far the only way I can reproduce what is shown in your screenshot is to edit the code condition (change from True to False) after stepping to the print statement.
If you cannot reproduce the behavior in a small example program, it usually means the problem is not what you think it is. I see this is line 92. Maybe there is something odd going on in lines 1-90. I cannot imagine what that might be, but there is nothing wrong with the two lines you posted.
How are you running the debugger? Just using the Run menu -> Start Debugging? What is your debugging configuration?
If you cannot reproduce the behavior in a small example program, it usually means the problem is not what you think it is. I see this is line 92. Maybe there is something odd going on in lines 1-90. I cannot imagine what that might be, but there is nothing wrong with the two lines you posted.
How are you running the debugger? Just using the Run menu -> Start Debugging? What is your debugging configuration?