Closed
Bug 1327729
Opened 8 years ago
Closed 5 years ago
Exception disappears from variables tab when I [auto]prettify script
Categories
(DevTools :: Debugger, defect)
DevTools
Debugger
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: arni2033, Unassigned)
Details
>>> My Info: Win7_64, Nightly 49, 32bit, ID 20160526082509 STR_1: (most interesting) 0. Open debugger, enable "Pause on exceptions" and "Auto prettify minified sources", close devtools. 1. Open url [1] 2. Open debugger 3. Click on the page AR: The right sidebar doesn't display <exception>. It's unclear why debugger has stopped ER: <exception> should be visible in "variables" tab STR_2: 1. Open url [1] 2. Open debugger, enable "Pause on exceptions" 3. Click on the page 4. Prettify the script AR: Step 3 - <exception> is visible in "variables" tab. Step 4 - <exception> disappears from sidebar ER: Step 4 - <exception> should still be visible Notes: 1) In STR_1 Step 2 it's important that script starting with "onbeforeunload" is selected in debugger If you couldn't reproduce it, please understand that it's a real-world scenario: I initially selected a random script, and debugger stops in another script. If that "another script" is minified and wasn't loaded yet, it'll be prettified automatically and I'll run into this bug. 2) If I click "Step in", "Step out", "Step over", <exception> appears again. However, if I click "Click to resume", I can never know that debugger stopped on exception (i.e. not randomly stopped), try url [2] with only 1 function in call stack. After bug 1092922 url [1] will also be affected. > [1] data:text/html,<script src="data:text/javascript,onbeforeunload=function(){}"></script><script src="data:text/javascript,onclick=function(){F()};function F(){return window.val.func()}; val='asdf'//.min.js"></script><script src="data:text/javascript,oncut=function(){}"></script> > [2] data:text/html,<script src="data:text/javascript,onbeforeunload=function(){}"></script><script src="data:text/javascript,onclick=function(){return window.val.func()}; val='asdf'//.min.js"></script><script src="data:text/javascript,oncut=function(){}"></script>
Component: Developer Tools: Canvas Debugger → Developer Tools: Debugger
Updated•6 years ago
|
Product: Firefox → DevTools
Comment 1•5 years ago
|
||
we no longer support auto prettyprint
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•