Closed
Bug 863079
Opened 12 years ago
Closed 10 years ago
"debugger;" should trigger the debugger when any of the devtools are open
Categories
(DevTools :: Debugger, defect, P3)
DevTools
Debugger
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 956087
People
(Reporter: philikon, Assigned: jlong)
References
Details
It's pretty confusing and not at all intuitive that "debugger;" only fires once you've opened the debugger once (thankfully you don't have to be *in* the debugger). I suggest having it fire when any of the devtools are active. E.g. I dropped a "debugger;" line into my code and then manually triggered it from the Web Console, but nothing happened. I think it should still activate the debugger.
Comment 1•12 years ago
|
||
The problem with this is that it would require enabling debug mode on the page, which will cause some slowdown, even in the case where one wants to inspect the page styles. Or even worse, when one tries to profile execution, essentially affecting the measurements. Jim, isn't this accurate?
Rob, Dave, what do you think about this?
Comment 2•12 years ago
|
||
Yeah, this is another restriction caused by bug 716647: we can't take stack frames that were running at full optimization and then debug them. The stack must contain no frames scoped to a global when we add that global as a debuggee.
I've added that bug as a blocker for this one. Can you guys think of more cases where this "no live frames on stack" restriction has caused a problem? Let's get bugs filed, all listed as blocked by 716647, so I can make the case to the JS team.
Depends on: 716647
Updated•12 years ago
|
Priority: -- → P3
Updated•11 years ago
|
Blocks: minotaur-kanban
Component: Developer Tools: Debugger → Developer Tools: User Stories
Whiteboard: [good first bug][lang=css]
Whiteboard: [good first bug][lang=css] → [devedition-40]
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → jlong
Assignee | ||
Updated•10 years ago
|
Whiteboard: [devedition-40] → [devedition-40][difficulty=medium]
Updated•10 years ago
|
Status: NEW → ASSIGNED
Comment 3•10 years ago
|
||
Bug 956087 is opened for the same thing as this, but has more discussion and context. James, what do you think about duping this one?
Flags: needinfo?(jlong)
Assignee | ||
Comment 4•10 years ago
|
||
(In reply to Brian Grinstead [:bgrins] from comment #3)
> Bug 956087 is opened for the same thing as this, but has more discussion and
> context. James, what do you think about duping this one?
Fine with me!
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Flags: needinfo?(jlong)
Resolution: --- → DUPLICATE
Updated•10 years ago
|
Whiteboard: [devedition-40][difficulty=medium]
Component: Developer Tools: User Stories → Developer Tools: Debugger
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•