Closed Bug 1122157 Opened 10 years ago Closed 7 years ago

starting debugger and refreshing with the debugger open is super slow sometimes

Categories

(DevTools :: Debugger, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: fitzgen, Unassigned)

References

(Blocks 1 open bug)

Details

I suspect it is the linear search through `Debugger.Script`s we do to find sources. We should probably make a Debugger.prototype.findSources, like we have been talking off and on about for a while. We can probably be smarter about how we restore breakpoints as well. Maybe iterate over breakpoints instead of scripts? ni? toby for STR + cleopatra profile
Flags: needinfo?(schneider)
Steps to reproduce: 1. Start Firefox Developer Edition with a clean profile. 2. Install the Shumway extension from http://www.areweflashyet.com/shumway/extension/firefox/shumway.xpi. 3. Open the debugger and enable "Pause on exceptions". 4. Goto https://dl.dropboxusercontent.com/u/55355076/jwplayer/index.html with the debugger open. 5. Should already load super slow. If not, try to reload the page.
Flags: needinfo?(schneider)
Product: Firefox → DevTools
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.