Closed
Bug 1126218
Opened 11 years ago
Closed 11 years ago
Simplify SourceActor.prototype._createBreakpoint
Categories
(DevTools :: Debugger, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 38
People
(Reporter: ejpbruel, Assigned: ejpbruel)
Details
Attachments
(1 file)
|
3.06 KB,
patch
|
fitzgen
:
review+
|
Details | Diff | Splinter Review |
SourceActor.prototype._createBreakpoint can be simplified significantly. Note that I eventually want to get rid of this function completely. All it does is convert the actual location returned by setBreakpoint (which is a generated location) to an original location.
Since setBreakpoint is going to slide on original lines, it should return an actual location that is an original location as well. The plan is to initially move the conversion logic in _createBreakpoint to setBreakpoint, and then to get rid of it completely once we've implemented breakpoint sliding on original lines.
In any case, simplifying the logic for createBreakpoint will make it easier for me to integrate it with setBreakpoint in a future patch.
| Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8555145 -
Flags: review?(jlong)
| Assignee | ||
Updated•11 years ago
|
Attachment #8555145 -
Flags: review?(jlong) → review?(nfitzgerald)
Updated•11 years ago
|
Attachment #8555145 -
Flags: review?(nfitzgerald) → review+
| Assignee | ||
Updated•11 years ago
|
Assignee: nobody → ejpbruel
| Assignee | ||
Comment 2•11 years ago
|
||
Try push for this patch:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=e656a043eede
| Assignee | ||
Comment 3•11 years ago
|
||
New try push because the patch on top of which this one is based had some errors:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=1fd2aeb66f03
| Assignee | ||
Comment 4•11 years ago
|
||
Try run looks green, pushing to fx-team:
https://hg.mozilla.org/integration/fx-team/rev/c5f5390dc422
Comment 5•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 38
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•