Closed
Bug 687093
Opened 13 years ago
Closed 12 years ago
Clicking on a stack frame in the debugger should put the caret in the proper source line
Categories
(DevTools :: Debugger, defect, P2)
DevTools
Debugger
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 13
People
(Reporter: past, Assigned: past)
References
Details
Attachments
(2 files, 4 obsolete files)
16.13 KB,
patch
|
msucan
:
review+
|
Details | Diff | Splinter Review |
1.72 KB,
patch
|
Details | Diff | Splinter Review |
When a user clicks on a stack frame, the source editor pane should scroll the corresponding line into view (preferably at the top of the pane) and put the caret there. Highlighting the line would be nice, too.
Assignee | ||
Updated•13 years ago
|
Component: Developer Tools → Developer Tools: Debugger
QA Contact: developer.tools → developer.tools.debugger
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → past
Status: NEW → ASSIGNED
Priority: -- → P2
Assignee | ||
Comment 1•12 years ago
|
||
Clicking on a stack frame now works as expected, but when entering the paused state the right script and line are not automatically selected. This cannot be fixed until bug 706506 is taken care of.
Assignee | ||
Comment 2•12 years ago
|
||
This works now (on top of bug 706506), but the test still has a couple of failures that I need to get to the bottom of.
Attachment #592126 -
Attachment is obsolete: true
Assignee | ||
Comment 3•12 years ago
|
||
Fixed the test as well as a few others that this patch broke, and added an extra fix for a flicker during onScripts.
Attachment #592834 -
Attachment is obsolete: true
Attachment #593134 -
Flags: review?(mihai.sucan)
Comment 4•12 years ago
|
||
Comment on attachment 593134 [details] [diff] [review] Working patch Review of attachment 593134 [details] [diff] [review]: ----------------------------------------------------------------- Patch looks good! ::: browser/devtools/debugger/test/browser_dbg_select-line.js @@ +69,5 @@ > + }); > + }); > + > + // Click the oldest stack frame. > + EventUtils.sendMouseEvent({ type: "click" }, Can you use synthesizeMouse() here?
Attachment #593134 -
Flags: review?(mihai.sucan) → review+
Assignee | ||
Comment 5•12 years ago
|
||
(In reply to Mihai Sucan [:msucan] from comment #4) > Comment on attachment 593134 [details] [diff] [review] > Working patch > > Review of attachment 593134 [details] [diff] [review]: > ----------------------------------------------------------------- > > Patch looks good! > > ::: browser/devtools/debugger/test/browser_dbg_select-line.js > @@ +69,5 @@ > > + }); > > + }); > > + > > + // Click the oldest stack frame. > > + EventUtils.sendMouseEvent({ type: "click" }, > > Can you use synthesizeMouse() here? Absolutely, fixed. (carrying over the r+)
Attachment #593134 -
Attachment is obsolete: true
Attachment #593427 -
Flags: review+
Assignee | ||
Comment 6•12 years ago
|
||
Test fix required after the latest merge and a small hunk from the patch in bug 711164, since I reordered them. This hunk has extensive tests in that patch, but I wanted to get this in and not wait for stepping support to be finished.
Attachment #593427 -
Attachment is obsolete: true
Attachment #596060 -
Flags: review?(dcamp)
Assignee | ||
Comment 7•12 years ago
|
||
Changes since your last review.
Assignee | ||
Comment 8•12 years ago
|
||
Comment on attachment 596060 [details] [diff] [review] [in-fx-team] Working patch v3 Sorry, I got confused. Mihai has been reviewing this.
Attachment #596060 -
Flags: review?(dcamp) → review?(mihai.sucan)
Comment 9•12 years ago
|
||
Comment on attachment 596060 [details] [diff] [review] [in-fx-team] Working patch v3 Looks good!
Attachment #596060 -
Flags: review?(mihai.sucan) → review+
Assignee | ||
Updated•12 years ago
|
Whiteboard: [land-in-fx-team]
Assignee | ||
Updated•12 years ago
|
Attachment #596060 -
Attachment description: Working patch v3 → [in-fx-team] Working patch v3
Assignee | ||
Comment 10•12 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/c17bad2abafe
Whiteboard: [land-in-fx-team] → [fixed-in-fx-team]
Comment 11•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/c17bad2abafe
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 13
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•