Hovering on the timeline should update the debugger
Categories
(Core Graveyard :: Web Replay, enhancement, P3)
Tracking
(firefox71 fixed)
Tracking | Status | |
---|---|---|
firefox71 | --- | fixed |
People
(Reporter: jlast, Assigned: jlast)
References
Details
Attachments
(2 files)
When the user hovers on the timeline, the debugger should immediately update to show where the program was at that point in time.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
This is a decent first attempt
diff --git a/devtools/client/webreplay/components/WebReplayPlayer.js b/devtools/client/webreplay/components/WebReplayPlayer.js
index a0c9cafc2750..8ea6e342b4b3 100644
--- a/devtools/client/webreplay/components/WebReplayPlayer.js
+++ b/devtools/client/webreplay/components/WebReplayPlayer.js
@@ -362,6 +362,8 @@ class WebReplayPlayer extends Component {
return;
}
+
+ this.toolbox.viewSourceInDebugger(closestMessage.frame.source, closestMessage.frame.url);
this.paint(closestMessage.executionPoint);
}
Assignee | ||
Comment 2•5 years ago
•
|
||
Ideally, we'd use a new action to preview the paused location which would prompt the debugline to show the blue background over the token the program was at at that point in time.
Assignee | ||
Comment 3•5 years ago
|
||
Currently, we can only update the debugger when the user hovers on a marker. To update the debugger generally, we'll need to be able to find sample points in the program that we can use. This is probably related to the control.js# findFrameSteps
.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 4•5 years ago
|
||
Assignee | ||
Comment 5•5 years ago
|
||
Pushed by jlaster@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1416218ae397 Hovering on the timeline should update the debugger.
Comment 7•5 years ago
|
||
Backed out changeset 1416218ae397 (bug 1580334) for Devtools failure on Debugger. CLOSED TREE
Log:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=267774407&repo=autoland&lineNumber=9350
Push with failures:
https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=1416218ae3977a77edfd65551653d953ff0dd629
Backout:
https://hg.mozilla.org/integration/autoland/rev/7a6e4de487922e968ca92188ef7b5ad374c6ec5a
Updated•5 years ago
|
Pushed by jlaster@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8eacd9c4b5ef Hovering on the timeline should update the debugger.
Comment 9•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Updated•4 years ago
|
Description
•