Closed Bug 1188982 Opened 9 years ago Closed 9 years ago

Provide better diagnostics when failing to load a source

Categories

(DevTools :: Debugger, defect)

defect
Not set
normal

Tracking

(firefox42 fixed)

RESOLVED FIXED
Firefox 42
Tracking Status
firefox42 --- fixed

People

(Reporter: fitzgen, Assigned: fitzgen)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

For sanity of debugging, when we get a loadSourceError, we should dump to console:

* source map url, if not inline
* source root
* relative source
* etc
Attachment #8640720 - Flags: review?(ejpbruel)
Attachment #8640720 - Flags: review?(ejpbruel) → review?(ttromey)
Comment on attachment 8640720 [details] [diff] [review]
Provide better diagnostics when failing to load a source

Review of attachment 8640720 [details] [diff] [review]:
-----------------------------------------------------------------

Looks reasonable to me.
Attachment #8640720 - Flags: review?(ttromey) → review+
https://hg.mozilla.org/mozilla-central/rev/b4db50d6a91e
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 42
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: