Avoid some unnecessary ticks in debugging mode