Fixed issue where counter debugger displayed incorrect LOCAL values