3 ms·
How We Made JavaScript Stack Traces Awesome
- the_mitsuhiko 4y agoSome direct links if folks are interested about how it works: scope extraction is in js-source-scopes, which uses SWC behind the scenes: https://github.com/getsentry/js-source-scopes https://github.com/getsentry/js-source-scopes The more user friendly and performant version of it is available as part symbolic: https://github.com/getsentry/symbolic/tree/master/symbolic-sourcemapcache https://github.com/getsentry/symbolic/tree/master/symbolic-s... Which is also exposed to Python so you can use it from there if you need: https://github.com/getsentry/symbolic/blob/master/py/symbolic/sourcemapcache.py https://github.com/getsentry/symbolic/blob/master/py/symboli... Happy to answer questions :)