You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an app with index.js that's calling my library that has an entry point of index.js which relies on node_modules/express/lib/router/index.js so my stack trace is entirely index.js with no way of telling which part of it is actually in my code.
Is there a way to give a user-configurable option or perhaps expand the path when there's room for it?
Thanks for the suggestions however rendering the full path would give more details to an already clutterd UI imho.
Though these sketches are a good first start for a PR.
To avoid the clutter when always showing the full path we could only show those segments from the end of the path that allow to distinguish files with the same name, e.g. something like this:
foo.js
src/index.js
router/index.js
main.js
With this approach most callstacks will continue to look compact and only those with duplicate file names will need more space.
Activity
weinand commentedon Jul 14, 2017
You can hover over the name to see the full path of the name.
ubershmekel commentedon Jul 14, 2017
Andre Weinand (@weinand) thank you.
auchenberg commentedon Jul 14, 2017
Could we render the full path and simple use right-aligned text ellipsis to mask the overflow?
isidorn commentedon Jul 18, 2017
Thanks for the suggestions however rendering the full path would give more details to an already clutterd UI imho.
Though these sketches are a good first start for a PR.
weinand commentedon Nov 14, 2017
To avoid the clutter when always showing the full path we could only show those segments from the end of the path that allow to distinguish files with the same name, e.g. something like this:
With this approach most callstacks will continue to look compact and only those with duplicate file names will need more space.
isidorn commentedon Nov 14, 2017
I like this idea, it goes well with some other places in the workbench where in tabs we show path of a file only if the file name is duplicated.
weinand commentedon Nov 14, 2017
Oh, I didn't know that. So even better!
isidorn commentedon May 11, 2018
We now show the path segments which distinguish the sources. You can try it in tomorrow's insiders
Fix debug smoketest - frame contents can wrap but stay hidden - ensur…