javascript - Chrome debugger only stopping at first line -


the debugger stops on first line (if put breakpoint there), not stop if put breakpoint @ other line. when type 'debugger' in script, indeed pausing , showing me paused in correct javascript file, it's showing first line active line of execution.

var somevar = 0; //<-- stop here when put break point here  $(document).ready(function() {     debugger; //<-- makes stop shows first line active line     alert('here!'); //<-- not stop breakpoint here, execute code }); 

i tried restarting chrome, , tried in canary, suprise showed exact same behaviour. behaviour happening 1 specific file. if empty , put in simple test code, remains same.

hmm. removed file , created again, , debugging works normal again


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -