I have a window.onerror handler that sends JavaScript errors to our server. I was hoping to analyse these by using source maps to link errors in the minified source back to the original code, but it seems Chrome and Firefox only provide line numbers on error. As far as I can see, source maps are not useful without a column number.
So, given a line number of minified source and an error message of the form x is undefined, what steps can I take to debug?
(If it makes any difference, I'm using the asset pipeline in Rails 3.2).