Open
Bug 1327600
Opened 8 years ago
Updated 2 years ago
No way to pretty-print and debug Loops (e.g. "for" and "while") if brackets {} aren't used
Categories
(DevTools :: Debugger, defect, P3)
DevTools
Debugger
Tracking
(Not tracked)
NEW
People
(Reporter: arni2033, Unassigned)
References
(Blocks 1 open bug, )
Details
>>> My Info: Win7_64, Nightly 48, 32bit, ID 20160423030220
STR_1:
1. Open url in the form above
2. Open debugger, pretty-print script, set breakpoint at line with "console.log"
3. Click on the page
4. Press F11 in debugger
AR: 216 messages in console
ER: Only 1 message - "000"
Component: Developer Tools: Canvas Debugger → Developer Tools: Debugger
Comment 1•8 years ago
|
||
Currently I hit a different bug when I try this -- I can't even set a breakpoint on that line.
Updated•8 years ago
|
Priority: -- → P3
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•6 years ago
|
Blocks: dbg-prettyprint-m2
Updated•6 years ago
|
Priority: P3 → P5
Comment 2•5 years ago
|
||
This is currently still an issue.
Comment 3•5 years ago
|
||
I can also reproduce the reported bug
Currently I hit a different bug when I try this -- I can't even set a breakpoint on that line.
BP works for me (I can set one on line 1)
The code after pretty printing should look something like as follows:
function () {
for (i = 0; i < 6; i++)
for (j = 0; j < 6; j++)
for (k = 0; k < 6; k++)
console.log('' + i + j + k);
}
Honza
Updated•5 years ago
|
Priority: P5 → P3
Updated•2 years ago
|
Blocks: dbg-prettyprint
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•