Message Box doesn't update variables correctly
Posted: Tue Nov 08, 2011 12:00 am
I'm new to LiveCode, so point me toward info on this if I've missed it somewhere!
I'm debugging an app, and I can't get Global Variables to update correctly in the Message Box. If I scroll to the variable I want to check and run the game, the variable status on the right side doesn't update until I click another variable, then click back on the one I want to check.
For example, assume I have Variable1 and Variable2. Variable2 should +1 every time I do something correctly in the game. If the listing in the Message Box is sitting on Variable2 and I do two correct actions, there is no update--the variable reads 0. If I click on Variable1's listing in the Message Box, then on Variable2's listing again, it correctly says 2.
That really slows down the kind of debugging where you need to watch variables change over time. Am I missing a better way to do this, or is the window buggy?
Thanks!
I'm debugging an app, and I can't get Global Variables to update correctly in the Message Box. If I scroll to the variable I want to check and run the game, the variable status on the right side doesn't update until I click another variable, then click back on the one I want to check.
For example, assume I have Variable1 and Variable2. Variable2 should +1 every time I do something correctly in the game. If the listing in the Message Box is sitting on Variable2 and I do two correct actions, there is no update--the variable reads 0. If I click on Variable1's listing in the Message Box, then on Variable2's listing again, it correctly says 2.
That really slows down the kind of debugging where you need to watch variables change over time. Am I missing a better way to do this, or is the window buggy?
Thanks!