5

I am using the debugger in Chrome 17.0, Mac OS X 10.6.8.

When I am stepping through JavaScript, sometimes I can add a fix and want to immediately abort and reload the page. When I'm not in the debugger, F5 does not reload the page, but Command-R does. However, when I am in the debugger, Command-R performs a "Continue" (a la F8) instead of reloading the page.

Is there a way to reload the page instead of continuing in the debugger?

John Freeman
  • 2,552
  • 1
  • 27
  • 34
  • I believe this has already changed on the dev channel: in my brief testing, `⌘-r` reloads the page, even from inside the debugger. Can you take a look at the [latest Chrome Canary](https://tools.google.com/dlpage/chromesxs) and let me know if the behavior is as you'd expect? – Mike West Mar 06 '12 at 10:07
  • It does not appear to work for me. Command-R still continues instead of reloading. I should be clear that I am trying to refresh the page while stopped at a breakpoint before the page is fully loaded. Chrome wants to finish the current page load (instead of aborting) before reloading. – John Freeman Mar 07 '12 at 16:59
  • It's not happening for me in Chrome dev and beta channel in Lion. I don't have stable channel installed. – Mohsen Mar 28 '12 at 18:37

1 Answers1

0

Developer tools doesn't have an option to do this. The work around is to add a "return" statement at the place where you want the execution to stop.

Varunkumar Nagarajan

Varunkumar Nagarajan
  • 1,807
  • 1
  • 24
  • 43