Summary: | javascript source not reloaded if page is reloaded and breakpoint was set in that source | ||
---|---|---|---|
Product: | WebKit | Reporter: | Patrick Mueller <pmuellr> |
Component: | Web Inspector (Deprecated) | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | noodlet, timothy |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All |
Description
Patrick Mueller
2009-08-12 12:30:49 PDT
Additional odd behavior. - run the test case as above - set the breakpoint to disabled - close web inspector - traverse to another web site in the same window - now go back to the site with the breakpoint set - you can now view the source of the file with the breakpoint - the original breakpoint is still in the breakpoint sidebar, but is not annotated in the source - enabling the breakpoint doesn't cause the debugger to stop in that code anymore - the breakpoint is a zombie in the breakpoint sidebar at this point I think this bug captured a bunch of different problems, most of which have been resolved, so I think we can close at this point. The issue regarding "zombie" breakpoints in the sidebar is basically a DUP of bug 30659. I'm still seeing this behaviour using both WebKit 4.0.4 and WebKit nightlies as of 12th Jan 2010. Specifically, when reloading a page after having set a breakpoint in the Web Inspector, the WI shows a blank instead of the script. This makes it impossible to debug code as it is initially read by the browser. I'm seeing it again as well. Load up my Dojo Flashcard demo locally - http://localhost/[path-to-dojo]/demos/flashCards/demo.html - set a breakpoint in loader.js somewhere, reload the page, then can no longer see any source in loader.js, though everything else is fine. Smells like some kind of timing issue. Not sure what the protocol for re-opening bugs is. Should we open a new bug? If not, at least add the regulars to the cc list. I don't remember how to reopen a bug, it isn't obvious like it was in older buzillas. JUst make a new bug. |