Closed Bug 1404430 Opened 7 years ago Closed 5 years ago

Debugger doesn't show any content on https://www.nperf.com/en/

Categories

(DevTools :: Debugger, enhancement)

enhancement
Not set
normal

Tracking

(firefox57 fix-optional)

RESOLVED WORKSFORME
Tracking Status
firefox57 --- fix-optional

People

(Reporter: jrmuizel, Unassigned)

Details

Attachments

(1 file)

Open https://www.nperf.com/en/ with the debugger open. Things seem to get stuck and the debugger never shows anything.
Hi, so... I looked into it briefly and saw some interesting things:

If pause on exceptions is true, it doesn't show anything. Otherwise we pause in this expression which I prettified:


```
(function() {
  (function a() {
    try {
      (function b(i) {
        if (("" + i / i).length !== 1 || i % 20 === 0) {
          (function() {}.constructor("debugger")());
        } else {
          debugger;
        }
        b(++i);
      })(0);
    } catch (e) {
      setTimeout(a, 5000);
    }
  })();
})();
```

It's pretty unclear what it's trying to do... but i've never seen any client code try to pause so hard in my life :)
Attached image nperf.png
Product: Firefox → DevTools
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: