> As an alternative, would it make sense to just collapse all the lexical scopes in a script into a single entry in the scopes pane? The UI would need to distinguish between variables that are shadowed vs. those that aren't, but that seems like it would be a good thing in general, e.g. when stopped in 'bar' below it would be nice to indicate that the 'a' in foo is shadowed.
I think it makes sense to try and collapse the scopes in the UI or server. :thumbsup:
Bug 1448166 Comment 4 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
> As an alternative, would it make sense to just collapse all the lexical scopes in a script into a single entry in the scopes pane? The UI would need to distinguish between variables that are shadowed vs. those that aren't, but that seems like it would be a good thing in general, e.g. when stopped in 'bar' below it would be nice to indicate that the 'a' in foo is shadowed.
I think it makes sense to try and collapse the scopes in the UI or server. It's more presentational this way and we can still support shadowing.