Closed Bug 1552039 Opened 5 years ago Closed 5 years ago

Inline breakpoints retained while file changed

Categories

(DevTools :: Debugger, defect, P2)

defect

Tracking

(firefox69 fixed)

RESOLVED FIXED
Firefox 69
Tracking Status
firefox69 --- fixed

People

(Reporter: Harald, Assigned: jlast)

References

(Blocks 1 open bug)

Details

(Whiteboard: [debugger-mvp])

Attachments

(5 files)

Attached image image.png

What were you doing?

  1. I set a breakpoint in the render function in https://firefox-devtools-example-babel-typescript.glitch.me/
  2. Edited the JSX and broke it down into multiple lines
  3. Refreshed the page

What happened?

Breakpoints spilled all over the old line.

What should have happened?

Remove invalid columns, as the old ones don't apply at all.

Anything else we should know?

I have not tried reproducing it, just filing to have it captured. STR might be faulty.

I think this is a dupe of bug 1533547. I'll look a bit more soon.

Priority: -- → P2

okay, after looking into it this feels like an issue with webpack.

  1. babel's maps look good in the link above
  2. the breakpoint positions in the generated code look good
  3. my guess is the minifier mangled the locations
Attached image mappings.jpg
Status: REOPENED → RESOLVED
Closed: 5 years ago5 years ago
Resolution: --- → WONTFIX

Chrome has a similar issue, but they do not show inline breakpoints that are out of range on the line. That sounds like a reasonable option here because they certainly are confusing.

Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---

This is what it looks like after the fix.

Assignee: nobody → jlaster
Status: REOPENED → ASSIGNED
Whiteboard: [debugger-mvp]
Pushed by jlaster@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/865ab825ed58
filter breakpoints to the right of the line. r=davidwalsh
Status: ASSIGNED → RESOLVED
Closed: 5 years ago5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 69
Flags: needinfo?(lsmyth)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: