Source Mapper - Chrome Web Store
Item logo image for Source Mapper

Source Mapper

3.9(

7 ratings

)
Developer Tools458 users
Item media 1 screenshot

Overview

A utility to get the original source code from a source map

What are source maps? http://www.html5rocks.com/en/tutorials/developertools/sourcemaps Why This works well in conjunction with JavaScript error capture. However you will need both line and column numbers. This can be difficult with a simple window.onerror handler as that does not provide the column information. There are various libraries that will wrap native functions with try/catches that could provide the column from error.stack. Use at your own risk (not sure how I feel about them) In my case (enterprise) we have mostly IE8 users at the moment, during window.onerror it is possible to either A. Walk to callee and build a stack or B. Use window.error.errorcharacter to capture the column number. This is what I am going to be doing for the time being. Tested with Source Map Version 3 JavaScript source files Source: https://github.com/RyanSylvestre/sourceMapper Link to store: https://chrome.google.com/webstore/detail/enenhalmnhnpofkecebdmgnmmhfkhcpb

3.9 out of 57 ratings

Google doesn't verify reviews. Learn more about results and reviews.

Review's profile picture

A Chrome Web Store userMar 25, 2019

really bad its not working

1 person found this review to be helpful
Review's profile picture

Kevin VillelaFeb 19, 2019

This extension is a delight to use.

Review's profile picture

Tse HarryDec 18, 2016

pretty useful for onerror's message

Details

  • Version
    1.2.5
  • Updated
    April 14, 2013
  • Size
    142KiB
  • Languages
    English (United States)
  • Developer
  • Non-trader
    This developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.

Privacy

The developer has not provided any information about the collection or usage of your data.

Support

For help with questions, suggestions, or problems, please open this page on your desktop browser

Google apps