Console halts on returning equality op when Debugger opens large JS file
Categories
(DevTools :: Debugger, defect)
Tracking
(Not tracked)
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:
-
Open Debugger with Console below.
3a. Enter 1 === 1
in Console. Note as OutputA.
3b. Enter console.log('hi')
in Console. Note as OutputB.
- 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.
Updated•5 years ago
|
Description
•