Added tick interrupt debugging