sourcemapped-stacktrace
sourcemapped-stacktrace copied to clipboard
apply sourcemaps to js stack traces
Hi, I have a stack trace like this in Firefox: ``` myFunction@http://localhost:3000/main.js:59705:37 fn@http://localhost:3000/vendor.js line 63291 > Function:4:271 expensiveCheckFn@http://localhost:3000/vendor.js:64486:20 callback@http://localhost:3000/vendor.js:74883:19 $eval@http://localhost:3000/vendor.js:66253:30 $apply@http://localhost:3000/vendor.js:66357:27 ngEventHandler/ Function:4:271`. This is then not parsed correctly and...
Say I have a source file with URL `https://www.example.com/path/file.js` with the following sourcemap directive: ``` //# sourceMappingURL=/path/file.js.map ``` Expected behavior: `https://www.example.com/path/file.js.map` is requested. Actual behavior: `https://www.example.com/path//path/file.js.map` is requested, which fails.
**The problem** Often, it is preferable for developers to keep sourcemaps private in production, so users cannot browse through the source easily. However, disabling sourcemaps in production makes logging stack...
Consider the following code: ``` setTimeout(() => dupa(), 0); function dupa() { jaś(); } function jaś() { throw new TypeError("whatever"); } ``` When minified and executed in chrome without any...
I'm using a setup where there is a "vendor" bundle containing libraries such as Angular, and an "app" bundle containing our project specific code. In this case, it seems that...
Angular with webpack (ng-cli), the source urls are invlaid, I have to globally replace them: ` var stackString = mappedStack.map(s => s.replace("///src", "///./src")).join("\n");` > at InfoToolComponent.queryFeature (webpack:///./src/app/mapping/sidebar-tools/info-tool/info-tool.component.ts:198:22) to make them...
If you have a path like /hello/thisismymap then this pullrequest fixes so that it will be handled as well.
Background: I'm using sourcemapped-stacktrace with jasmine 2.3.4 as suggested by https://gist.github.com/guncha/f45ceef6d483c384290a. After getting this set up, I was surprised to see that my coffeescript source lines - which are the...
Hi there ! I'm currently using the `sourcesContent` field in my sourcemap, allowing to directly embed sourcemapped content into my sourcemap file.  In that case, it seems...
I am building a React project that is bundled by WebPack. When an exception is thrown, the raw stack trace often looks like the following: ``` ReferenceError: callbackFunction is not...