Open Bug 1637086 Opened 4 years ago Updated 2 years ago

Stepping through js with sourcemaps leaves the sourcemaps behind and uses the original code

Categories

(DevTools :: Debugger, defect, P3)

77 Branch
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: lucian303, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:77.0) Gecko/20100101 Firefox/77.0

Steps to reproduce:

Now that sourcemaps are somewhat working again:

Place breakpoint in sourcemapped source.

Step through a few times.

Actual results:

The debugger switches to the original, non sourcemapped source which is not highlighted and is just a giant file. See screenshot. It switches to vendor.js instead of staying in the original file (tab next to it).

Expected results:

Keep stepping through the sourcemapped source code.

FF dev edition 77.0b3 (64-bit)

OSX 10.15.4 (19E287)

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → JavaScript Engine
Product: Firefox → Core

Forwarding to the devtools component to be investigated.

Component: JavaScript Engine → Debugger
Product: Core → DevTools

Would you be able to create a reproducible example? Sourcemap issues are extremely hard to diagnose without an example unfortunately since they vary so much depending on the particular build process or tooling.

Flags: needinfo?(lucian303)
Severity: -- → S3
Priority: -- → P3

Clear a needinfo that is pending on an inactive user.

Inactive users most likely will not respond; if the missing information is essential and cannot be collected another way, the bug maybe should be closed as INCOMPLETE.

For more information, please visit auto_nag documentation.

Flags: needinfo?(lucian303)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: