These are chat archives for opal/opal

1st
Jul 2016
Doug Orleans
@dougo
Jul 01 2016 16:44
Is there a way to have exception backtraces use source maps?
Elia Schito
@elia
Jul 01 2016 16:46
@dougo on browser should already be the case, certainly on Safari (which I use most of the time)
Doug Orleans
@dougo
Jul 01 2016 16:46
I mean the actual array you get from Exception#backtrace
would be nice if there were a way to tell it to use source maps, or else a way to translate it afterward
Elia Schito
@elia
Jul 01 2016 16:47
I see, I think it's possible but not easy, and would involve dealing with source maps and doing the mapping manually
Doug Orleans
@dougo
Jul 01 2016 16:48
Yep.
Elia Schito
@elia
Jul 01 2016 16:48
would probably be cool if browser offered an api to do that…
Doug Orleans
@dougo
Jul 01 2016 16:48
I started going down that road and decided I'd ask if someone already did this...