An invaluable addition to @ChromeDevTools would be an ability to pause at the code which attempts to navigate or reload (most important via `location.href` which cannot, to my knowledge, be captured by monkey-patching). Currently it only can pause on an unload event *handler*.
-
-
Actually, @somplylasar, what about just searching for location.href in the global Search tab, and then manually adding a breakpoint on each call?pic.twitter.com/AzXc9EnX7R
-
1) Breakpoints set manually aren't working reliably, too, especially on a minified codebase, I wrote about it a while ago. 2) Not every piece of code that gets executed may show up at the time of navigation. For me, the code was reloading itself on page load.
- 3 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.