Sometimes when I'm debugging some javascript in Chrome and I have the javascript paused, if I try to reload the page, chrome instead just "continues" the debugger, stepping to next breakpoint.
There doesn't seem to be any way to force the javascript to stop running completely, and let chrome just reload the page. Every press of -R or click of the reload button simply continues to the next breakpoint.
My make-shift solution right now is to
- copy the url bar address
- close that tab
- open a new tab
- and then open the url in the new tab.
This is rather brute-force but its the only way I get Chrome to actually load a fresh copy of that page, instead of just continuing the existing running one. Emptying the cache has no affect because its not even trying to reload the page.
p.s. I also notice there is no "stop" button for the javascript debugger as well. How do I just tell chrome to stop executing the javascript, no need to continue. The only controls are "continue", "step-over", "step-in", "step-out". How is there no "stop" or "cancel".