Javascript Error Report

Is there any javascript framework for reporting errors?

I would like to get a copy of the webpage that the user is currently looking for, plus maybe a stack trace on JS, their current browser, etc. and send it to my web application so that when I try to debug the application, I spend less time trying to recreate the problem.

+4
source share
1 answer

ExceptionHub is a service that may be what you are looking for. There is some overhead as it wraps calls to addEventListener , setInterval , setTimeout , etc. Using catch catch blocks to get stacks.

You cannot get a screenshot of a page without using extended privileges or a browser extension. The canvas element in the Mozilla implementation has a drawWindow function that can display the current window as a canvas element so that you can place the data pixel.

+1
source

All Articles