Open Bug 1760480 Opened 3 years ago Updated 3 years ago

inline source map from evaled source not working

Categories

(DevTools :: Debugger, defect, P3)

Firefox 97
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: john.david.dalton, Unassigned)

Details

Attachments

(1 file)

Steps to reproduce:

This is hard to reproduce but I've noticed that in Firefox 96.0.3 in a rather large code base inline source maps work with break points and the file tree view, however in Firefox 97-100.0a1 it no longer works.

Actual results:

The basic case works:
https://output.jsbin.com/tisuhov/1

However in larger code bases it doesn't.

Expected results:

Expected to work.

The Bugbug bot thinks this bug should belong to the 'DevTools::Debugger' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Debugger
Product: Firefox → DevTools

I also noticed a performance difference as well. In Firefox 96.0.3 the debug experience was snappy and fast. In Firefox 97 and up things lock up and are sluggish.

Thanks for the report John.
(In reply to John-David Dalton from comment #2)

I also noticed a performance difference as well. In Firefox 96.0.3 the debug experience was snappy and fast. In Firefox 97 and up things lock up and are sluggish.

Any specific scenarios , STRs or even a webpage would be really helpful to look into.

Thanks a lot

Flags: needinfo?(john.david.dalton)

The scenario was a karma test run. The test runner has 1,000+. assertions. Several hundred eval() based inline source maps. I but a debugger in one of them and noticed it no longer stopping in the debugger. I sent a video of the scenario and results to Honza.

Flags: needinfo?(john.david.dalton)

The severity field is not set for this bug.
:bomsy, could you have a look please?

For more information, please visit auto_nag documentation.

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

John-David: can I attach the video you shared with me through email to this bug?
(i.e. it'll be publicaly available)

Flags: needinfo?(john.david.dalton)

I'll attach an edited down form.

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

Attachment

General

Created:
Updated:
Size: