Feature Request
When clicking on a stack trace link it should show a slice of the file around the line
Current Status:
Completed
Sune Simonsen
When clicking on a stack trace link it should show a slice of the file around the line. For example it you clicked the following link it should show the code below with line 34 highlighted.
https://raw.github.com/sunesimonsen/factory.js/master/lib/factory.js:34
28 function factory(factoryFunction) {
29 var factoryImplementation = new Factory();
30 factoryFunction = factoryFunction.bind(factoryImplementation);
31 factoryFunction.create = function (count) {
32 var result = [];
33 for (var i = 0; i < count; i += 1) {
34 result.push(this());
35 }
36 return result;
37 };
38 factoryFunction.reset = function () {
39 factoryImplementation.count = 0;
40 };
Raygun
Deleted User
Posted on
Oct 27 2016
Hi Sune,
While this is a great idea, we have already added a feature just last week that provides a similar solution. What we have done instead of importing the source into the app, is we provide a link directly to GitHub/Bitbucket to view the source files.
Have a read of this feature release blog post for more details on how it works and how to configure it. https://raygun.com/blog/2016/10/link-back-to-source/
Regards, Jeremy.