What you can do is a print string where you are changing the value of a variable and then another print string where you want to check the value of the variable and see what comes first, if you don’t know the order of your events that should help
( if one of the print strings is not showing it’s because you are not calling something correctly )