Breakpoint can be hit even after it was cleared
Categories
(DevTools :: Debugger, defect)
Tracking
(Not tracked)
People
(Reporter: t20, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0
Steps to reproduce:
Sometimes this happens after setting and later clearing a breakpoint. I'm not sure how to reproduce it.
Actual results:
When a page is refreshed, the debugger will continue to stop at a deleted breakpoint, even after ctrl+F5. The debugger shows no breakpoints listed.
Expected results:
There should be no stopping at a breakpoint that has been deleted.
Note: After restarting Firefox, behavior is normal again.
Comment 1•3 years ago
|
||
This could be related to bug 1621819
Is pretty printing involved in your test case?
I know that there are cases where BP is removed from the UI, but still exists in the Debugger to the JS execution pauses when it hits. But, we don't have a reliable test case. Providing one would help a lot!
Honza
Reporter | ||
Comment 2•3 years ago
|
||
I do apologize; I cannot provide a test case. I don't debug often, so I'm not even sure what project that was. It did happen, though. No, I have never done any pretty printing that I can recall (I block-structure my programs using tab chars as I write them, and I rarely work with the programs of others).
Reporter | ||
Comment 3•3 years ago
|
||
I received two email requests to reply here, so this is my second reply.
Comment 4•3 years ago
|
||
Thank you for the response!
Since we don't have more info here and we know about the problem, I am duping against the bug 1621819, which is the one for zombie BPs.
Description
•