When debugging in chrome, the scripts are always paused in the debugger even if there are no break points set, and if the the pause is un-paused, it again pauses itself.
There was a syntax error in my for loop. This caused the pause error.
for