Hi,
So this is a strange one but when debugging a tiva c launchpad I was having a strange issue with a variable seeming to go negative. When I started thoroughly testing it I noticed a strange phenomenon. I'm watching a variable in the expression window which does not change during the entire execution. However as soon as I move to another window say registers or variables, when I switch back the variable has suddenly become a very large negative number.
This is the view before changing:
This is what happens after I switch to Registers and back again:
Any thoughts on this one and why it could happen? It's a real pain when you are wondering why your program doesn't seem to be working.
Thanks
Warwick

