(really) Clear breakpoints reducer on each target/thread removal
Categories
(DevTools :: Debugger, task)
Tracking
(firefox115 fixed)
Tracking | Status | |
---|---|---|
firefox115 | --- | fixed |
People
(Reporter: ochameau, Assigned: ochameau)
References
Details
Attachments
(3 files)
Similarly to bug 1814177, the breakpoints reducer already tries to clear itself on thread removal, unfortunately this code doesn't work because source.thread is no longer defined since we moved to breakpoint per URL.
Assignee | ||
Comment 1•2 years ago
|
||
Unfortunately, breakpoints aren't bound to a particular thread.
Instead they are bound to the source were the breakpoint is set.
Also sources aren't bound to a particular thread, this is especially true
when we are against an original source which may be used in distinct threads.
So let's use the sources list dispatched on REMOVE_THREAD to identify
the breakpoint to remove when a thread is removed.
Assignee | ||
Comment 2•2 years ago
|
||
This attribute has been removed since we moved to breakpoints per URL.
Updated•2 years ago
|
Assignee | ||
Comment 3•2 years ago
|
||
Actions are dispatched synchronously by default, unless we dispatch an thunk action,
which may be asynchronous (but not always); or for action using "promise" attribute
which is made asynchronous by a middleware.
Comment 5•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/75e719602096
https://hg.mozilla.org/mozilla-central/rev/14df400dba55
https://hg.mozilla.org/mozilla-central/rev/21cb9d7c0aa8
Description
•