Closed Bug 1542459 Opened 5 years ago Closed 5 years ago

Console halts on returning equality op when Debugger opens large JS file

Categories

(DevTools :: Debugger, defect)

66 Branch
x86_64
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1539468

People

(Reporter: glai, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36

Steps to reproduce:

  1. Visit https://accounts.firefox.com/signup

  2. Open Debugger with Console below.

3a. Enter 1 === 1 in Console. Note as OutputA.

3b. Enter console.log('hi') in Console. Note as OutputB.

  1. In Debugger, open app.bundle.en.js so that file is loaded and shown. (It's currently ~230k bytes, 74 lines long.)

5a. Enter 1 === 1 in Console. Note as OutputC.

5b. Enter console.log('hi') in Console. Note as OutputD.

5c. Enter console.log(1 === 1) in Console. Note as OutputE.

Actual results:

OutputA returns and prints true immediately.

OutputB prints hi immediately.

OutputC does NOT return and does NOT print anything. (Perhaps after a long while it does so).

OutputD prints hi immediately.

OutputE does NOT return and does NOT print anything.

To clear buggy state:
First close down view of app.bundle.en.js so it does not get brought back up again.
Then, close and reopen devtools.

(This bug cripples any practical use of the debugger. It also leads to extreme confusion if not aware that it is an inherent bug in the tool itself.)

Expected results:

OutputA should return and print true immediately.

OutputB should print hi immediately.

OutputC should return and print true immediately.

OutputD should print hi immediately.

OutputE should print true immediately.

Seen on Firefox Quantum 66.0.2 (64-bit) for MacOS.

Component: Untriaged → Debugger
OS: Unspecified → macOS
Product: Firefox → DevTools
Hardware: Unspecified → x86_64

This also affects Watch Expressions.

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.