popcode
popcode copied to clipboard
Use sourcemaps for runtime error line numbers
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?