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
isidorn opened this issue
Sep 5, 2019
· 2 comments
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugdebugDebug viewlet, configurations, breakpoints, adapter issuesverifiedVerification succeeded
When a session's name get changed the Loaded Scripts View looses selection / expansion state for that session.
The reason for this is that we compute the tree id of the session element based on the label here
We should not use the label when computing ids, but we should use some internal id instead (or the id of the underlying DebugSession element in this case)
Also on session change name we shuold not do all this magic here
I think a simple tree.rerender should be enough (on top when we change the ID computation to no longer depend on label)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
bugIssue identified by VS Code Team member as probable bugdebugDebug viewlet, configurations, breakpoints, adapter issuesverifiedVerification succeeded
When a session's
name
get changed the Loaded Scripts View looses selection / expansion state for that session.The reason for this is that we compute the tree id of the session element based on the label here
We should not use the
label
when computing ids, but we should use some internal id instead (or the id of the underlyingDebugSession
element in this case)fyi @dgozman
The text was updated successfully, but these errors were encountered: