• Advertisement
Sign in to follow this  

If statement glitch

This topic is 4337 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
dont use the debugger for device IO, use some sort of console output to see if the logic checks out ? is this just ur debugger?

Share this post


Link to post
Share on other sites
yea, i put a break a little before it, then stepped down to that code, put the mouse over that if statement (while highlighted to get the entire evaluation) and when in the tooltip box is what it's coming out to, but not apperently..

Share this post


Link to post
Share on other sites
All I can think of is, since you're past that step in the program, the copmiler maybe started using the memory for something else, and now when you hold your mouse over it, it happens to evaluate to 'false'.

But in Debug mode a compiler shouldn't do anything like that I don't think.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement