View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0029297||2.1 IDE Bugs||[2.x IDE Bugs] Debugger||Public||2018-04-11 13:45||2018-04-16 09:24|
|Reporter||Sam Cumming||Assigned To||Alan Savage|
|Priority||Medium||Severity||C - General||Reproducibility||100%|
|Fixed in Version|
|Summary||0029297: Debugger: Global variable tooltip shows an incorrect value in attached project|
|Description||If you mouse over the 'current_player' global variable inside scr_next_player while debugging, you'll see that its value is 2. In the Globals section of the debugger, 'current_player' has a value of 1, so the tooltip value is incorrect.|
It should be noted that this doesn't affect code execution, it appears to just be a visual issue (a confusing one at that).
I've also tried replicating this on a blank project but couldn't get the same behaviour to occur.
|Steps To Reproduce||1. Open the attached project.|
2. Debug for Windows.
3. When the game breaks, mouse over 'global.current_player'.
4. Observe that this value is 2.
5. Step through, observe that 'if (global.current_player == 1)' resolves as true, even though the tooltip says that current_player is 2.
6. Open the Variables tab, observe in Globals that 'current_player' is 1.
|2.x IDE Found In||188.8.131.528|
|2.x Runtime Found In||184.108.40.206|
|2.x IDE Verified In|
|2.x Runtime Verified In|