I would have to suspect something in your interrupt routine not working as expected, but it's hard to tell without seeing your complete routine, and a good deal more of your program code.

I've never had any problems with PBP not knowing where a variable is located, so I would for sure have to suspect something else.