-
Notifications
You must be signed in to change notification settings - Fork 119
Show frame skip status in call stack #150
Comments
@isidorn and @weinand, I'm thinking about how to show that a file is skipped in the call stack. Useful for a few reasons,
I can add a tag to the left or right side: The right side might be better since it's the file that's skipped, not the function. But if the frame's Source has a path, then it displays part of the path instead of the source name, so I can't customize it. I guess this is related to #16913. Would it be a breaking change to show the name on the right side, if it's set? Other ideas? |
I would start with showing the (skipped) on the right hand side. It belonds next to the file name since the file is skippped and (skipped) is better in a regular than verbatim font. |
Sure, so does it make sense to always show the source name when available? Should I open an issue for that? |
Instead of showing 'skipped' we could try a font variation that does not clutter the UI that much, e.g. showing the module name dimmed and the hover would explain the reason for this). |
Then the protocol would have to know about skipFiles? |
So your approach with the "(skipped)" prefix would just prefix the |
Yeah (I would really like the font variation though, it's more similar to what other tools do) |
I was debugging some async/await code and was thinking about how much nicer this would look if the module name was dimmed on non-sourcemapped frames Those frames are skipped with smartStep, not skipFiles, but the two should be marked the same in UI. And was also thinking that I could change the smartStep implementation to be based on the blackbox API, for performance. |
Even if we are not adding the 'skipFiles' concept to the debug protocol, we could add some abstract attribute to the |
|
@roblourens 'hidden' sounds good. 'dimmed' is too concrete because it is a real visual style. |
I'm trying to think of a good synonym for |
@roblourens I like 'deemphasize' (and the word seems to exist: http://www.thesaurus.com/browse/de-emphasize but I didn't like any of the listed synonyms). |
@roblourens I've added a |
If a frame is for a skipped file, show
(skipped)
in its name.The text was updated successfully, but these errors were encountered: