Closed Bug 1327988 Opened 7 years ago Closed 5 years ago

Debugger doesn't scroll to current line if I prettify source during debugging

Categories

(DevTools :: Debugger, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: arni2033, Unassigned)

References

Details

(Keywords: regression)

>>>   My Info:   Win7_64, Nightly 49, 32bit, ID 20160526082509
STR_1:
1. Open https://www.mozilla.org/en-US/firefox/nightly/firstrun/
2. Open debugger, set breaking on 'change' event
3. Click <select> at the bottom of the page, then select another language
4. Click "Prettify source" button in debugger

AR:
 Step 3 - debugger stops at line 2. Caret is in the 2nd line. Script is still minified. 
 Step 4 - debugger shows line 1872 in current script (in breadcrumbs), but caret is in the 1st line,
          therefore I just can't see the code of event handler

ER:
 Step 4 - debugger should prettify source and automatically scroll line 1872 into view (come on)

This bug is regression from bug 1200798. Regression range:
> https://hg.mozilla.org/integration/fx-team/pushloghtml?fromchange=15522bc2931a52ec435f22e233f747264b90f647&tochange=0e47cb06470145725732f0f362c46048969126d8@ James Long (:jlongster):
It seems that this is a regresion caused by your change. Please have a look.
No longer blocks: 1277113
Component: Untriaged → Developer Tools: Canvas Debugger
Component: Developer Tools: Canvas Debugger → Developer Tools: Debugger
Product: Firefox → DevTools

This is related to the old (xul based) Debugger UI.
Closing since it isn't relevant anymore.

Honza

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