Link to file from stack trace in console
We are printing some very nicely formatted stack traces to the console from Javascript:
Error: Crashing now, just as you requested!
at Function.YNABSharedLib.crashNow (../ynab_shared_library/app/scripts/YNABSharedLib.ts:350:19)
at module.exports.Ember.Route.extend.actions.crashNow (./src/routes/application.coffee:218:26)
at Object.triggerEvent (./node_modules/ember/ember.js:35579:1)
at trigger (./node_modules/ember/ember.js:34618:1)
at Object.Router.trigger (./node_modules/ember/ember.js:33447:1)
at Ember.Router.Ember.Object.extend.send (./node_modules/ember/ember.js:35098:1)
at Ember.ActionHandler.Ember.Mixin.create.send (./node_modules/ember/ember.js:18688:1)
at runRegisteredAction (./node_modules/ember/ember.js:38512:1)
at Object.Backburner.run (./node_modules/ember/ember.js:6249:1)
at onerror (./node_modules/ember/ember.js:6670:1)
Note that we're referring there to files and paths that Rubymine should be able to find. However, it doesn't provide hyperlinks for them, so it's not as easy to jump to the source of the problem as I would like. Is there a way for me to apply a filter to the console so that we can get links to our source files?
Many thanks in advance,
Taylor
请先登录再写评论。
Hello!
I have the same problem. I run various Selenium tests from gulp tasks. When a test fails, I get stack traces like the one shown below. I would love for IntelliJ to automatically make the filenames associated with my project clickable so I quickly can navigate to them in the IDE.
Hello, Taylor,
sorry for keeping you waiting. Could you please check the following issue cause it seems to be related to yours:
https://youtrack.jetbrains.com/issue/WEB-11851
Yes, I agree. My issue seem to be another example of the parsing problems described in WEB-11851.