TraceKit icon indicating copy to clipboard operation
TraceKit copied to clipboard

Attempts to create stack traces for unhandled JavaScript exceptions in all major browsers.

Results 17 TraceKit issues
Sort by recently updated
recently updated
newest added

Hi, the current regex for chrome is ``` /^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|webpack|eval).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i ``` However Ive noticed in Electron apps at least, theres no guarantee of a file:// prefix. ie Filenames for...

Thoughts on turning it off by default? I want to include TraceKit as part of Raven (https://github.com/getsentry/raven-js), but I'm hoping to deprecate hooking window.onerror for better methods (such as binding...

Implement a test mechanism to run unit tests on different browser/OS combinations, preferably integrated with travis/grunt.

enhancement

Consider this scenario: ``` javascript function someOperation() { function someOperationFailure(e) { //handle failure } $.ajax({ ... }) .done(function(resp) { if (!resp.userToken) { someOperationFailure(new Error('no userToken!' ); } } ``` someOperationFailure...

It'd be nice if you could provide a callback in TraceKit.report() as an alternative to using .subscribe. i.e. I want to do this: ``` function capture(ex, options) { TraceKit.report(ex, function(data)...

enhancement

It looks like the function wrap calls Tracekit.report and then throws the exception. But Tracekit.report already throws the exception again. Is an exception being thrown twice?

I'm not sure what problem augmentStackTraceWithInitialElement is trying to solve, but its effect is to add a bogus frame element pointing to TraceKit. It's particularly bad because it happens via...

I have an example here http://jsfiddle.net/tGZGW/ It's based of the current master code.

In another library I was working on, I figured a very seamless way to offer a boolean toggle is to just have a function that you pass in true/false. My...

I came up with a clever technique a few months ago that I wanted to try out... turns out to be a win but only in Firefox (so far as...