popcode icon indicating copy to clipboard operation
popcode copied to clipboard

Use sourcemaps for runtime error line numbers

Open outoftime opened this issue 9 years ago • 0 comments

Right now our logic for finding out what line of the student’s JavaScript generated a runtime error is fragile, woolly, and different for different browsers.

Maybe we can hook into the source maps mechanism and provide a sourceUrl that is a data URI, which would then cause the browser to give us the right information?

outoftime avatar Oct 22 '16 00:10 outoftime