Closed Bug 1250427 Opened 4 years ago Closed 4 years ago

[DevTools][Debugger] dbg-breakpoint-text is wrong if add a breakpoint on comment line

Categories

(DevTools :: Debugger, defect, P2)

defect

Tracking

(firefox44 unaffected, firefox45 affected, firefox46 affected, firefox47 fixed)

RESOLVED FIXED
Firefox 47
Tracking Status
firefox44 --- unaffected
firefox45 --- affected
firefox46 --- affected
firefox47 --- fixed

People

(Reporter: magicp.jp, Assigned: jlong)

References

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0
Build ID: 20160222030212

Steps to reproduce:

1. Start Firefox 45 or later version
2. Go to "about:home"
3. Open Devtools > Debugger
4. Select "contentSearchUI.js"
5. Click comment line (e.g. line 37)


Actual results:

Breakpoint will be shifted to line 41 (it is correct behavior). But, dbg-breakpoint-text does not change to line 41. (still line 37)


Expected results:

dbg-breakpoint-text should be displayed current line code.
Has STR: --- → yes
Component: Untriaged → Developer Tools: Debugger
OS: Unspecified → All
Hardware: Unspecified → All
Priority: -- → P2
Assignee: nobody → jlong
Flags: needinfo?(jlong)
Attached patch 1250427.patchSplinter Review
https://hg.mozilla.org/mozilla-central/rev/217b441ef860
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 47
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.