Allow search for traces by function call argument values
Categories
(DevTools :: Debugger, enhancement)
Tracking
(firefox134 fixed)
Tracking | Status | |
---|---|---|
firefox134 | --- | fixed |
People
(Reporter: ochameau, Assigned: ochameau)
References
(Blocks 1 open bug, Regressed 1 open bug)
Details
Attachments
(2 files, 3 obsolete files)
The JS Tracer currently stores the function call arguments in the debugger redux store, but only show them via inline/popup previews.
It would be neat to able to able to search frames by argument values.
Looking for primitive data types is trivial, but search per object may require a followup.
Assignee | ||
Comment 1•4 months ago
|
||
Assignee | ||
Comment 2•4 months ago
|
||
Assignee | ||
Comment 3•3 months ago
|
||
This dedicated pool class shared by all the actors instantiating Object Actors
(console, thread and tracer actors) is going to later help reuse the same
WeakMap logic to instantiate only one actor per unique JS value.
I also merged console and target actor to use the same pool
as they basically have the same lifecycle. This simplify lookups
by Actor IDs done for selected object actor or console table objects.
Assignee | ||
Comment 4•3 months ago
|
||
When we communicate a previously notified object actor form,
which was notified through a prevent RDP event or method call,
we passed its actor's form (a.k.a. "grip").
This contains a snapshot of the object in order to be able to display a preview
of it at the time the object was processed in the backend.
Now, when we manipulate the same JS value in the backend,
we may notify about the same object actor instance, but the actor's form ("grip")
will be updated to match the current state of the object.
In the frontend, we need to process this new form/grip in the Object Actor front,
so that the previews are correctly updated over time.
Assignee | ||
Comment 5•3 months ago
|
||
This helps ensure that the object actors returned by the console actor evaluation RDP request
are the same for the same JS values being processed and notified via the tracer ressources.
This allows identifying same objects when doing a search per value.
Comment 6•3 months ago
|
||
Comment on attachment 9430183 [details]
Bug 1921020 - [devtools] Use ObjectActorPool to instantiate and collect all Object Actors.
Revision D225235 was moved to bug 1923903. Setting attachment 9430183 [details] to obsolete.
Comment 7•3 months ago
|
||
Comment on attachment 9430184 [details]
Bug 1921020 - [devtools] Ensure updating object front's form when re-using the same front instance.
Revision D225236 was moved to bug 1923903. Setting attachment 9430184 [details] to obsolete.
Comment 8•3 months ago
|
||
Comment on attachment 9427499 [details]
Bug 1921020 - [devtools] Instantiate only one object actor per JS object in the JS Tracer
Revision D223782 was moved to bug 1923903. Setting attachment 9427499 [details] to obsolete.
Updated•3 months ago
|
Comment 10•3 months ago
|
||
Backed out for causing dt failures @ browser_dbg-javascript-tracer-sidebar-values-search.js
Backout link: https://hg.mozilla.org/integration/autoland/rev/6761cdf112b85bd58bc928afc4b96de38d6d6f87
Comment 11•3 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/0f807adadf05
https://hg.mozilla.org/mozilla-central/rev/b0ee34e44bb0
Updated•3 months ago
|
Comment 12•3 months ago
|
||
Backout merged to central: https://hg.mozilla.org/mozilla-central/rev/6761cdf112b85bd58bc928afc4b96de38d6d6f87
Comment 13•3 months ago
|
||
Comment 14•3 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/5b954e5723fe
https://hg.mozilla.org/mozilla-central/rev/a2fcf48ee4fd
Assignee | ||
Updated•14 hours ago
|
Description
•