Closed
Bug 1087312
Opened 10 years ago
Closed 7 years ago
Disabled and removed breakpoint re-appears as disabled after page reload
Categories
(DevTools :: Debugger, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: offbynone, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [polish-backlog][difficulty=easy])
Attachments
(1 file)
2.24 KB,
patch
|
jlong
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0 Build ID: 20141022030202 Steps to reproduce: add a breakpoint, right click the breakpoint and disable right click the breakpoint and remove reload the page Actual results: the breakpoint re-appears as a disabled breakpoint. Expected results: the breakpoint should still be removed.
Component: Untriaged → Developer Tools: Debugger
Summary: removed breakpoint re-appears after page reload → Disabled and removed breakpoint re-appears as disabled after page reload
Blocks: dbg-breakpoint
Can you provide more details, such as what URL you are testing with and where the breakpoint was set?
Flags: needinfo?(offbynone)
You can test with any webpage, just add a breakpoint anywhere then disable/remove it and reload the page. Same behavior in previous versions like FF31.
Hmm, fair enough! It does indeed happen even on this bug page.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(offbynone)
Comment 4•9 years ago
|
||
I can still repro this - setting devedition-40. Eddy - can you add a difficulty whiteboard to this? eg [difficulty=easy] ( or medium, or hard )
Priority: -- → P1
Whiteboard: [devedition-40]
Comment 6•9 years ago
|
||
Here's a patch that fixes the problem, with comments to explain what is going on.
Attachment #8616720 -
Flags: review?(jlong)
Comment 7•9 years ago
|
||
Comment on attachment 8616720 [details] [diff] [review] patch Review of attachment 8616720 [details] [diff] [review]: ----------------------------------------------------------------- The breakpoint code is crazily terrible and ugh. For others who see this bug, I have a complete refactoring underway of the frontend sources & breakpoints UI (the UI will stay the same, but how data is propagated is totally different). None of this kind of code exists in the new version. I hope to land it soon-ish (maybe a month) but we can go ahead and land this for now.
Attachment #8616720 -
Flags: review?(jlong) → review+
Comment 8•9 years ago
|
||
Try push for the above patch: https://treeherder.mozilla.org/#/jobs?repo=try&revision=5cff75d9be49
Updated•9 years ago
|
Whiteboard: [devedition-40] → [polish-backlog]
Updated•9 years ago
|
Whiteboard: [polish-backlog] → [polish-backlog][difficulty=easy]
Updated•7 years ago
|
Assignee: ejpbruel → nobody
Comment 9•7 years ago
|
||
this is fixed in the new debugger
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•