Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only restore expansion state when there are items. #36539

Merged
merged 1 commit into from
Oct 26, 2017
Merged

Only restore expansion state when there are items. #36539

merged 1 commit into from
Oct 26, 2017

Commits on Oct 26, 2017

  1. Store expansion state globally only when there are items.

    When a debugger needs more time while stepping, the tree will go empty first
    (while running) and then come back with data (when stopped again). This
    modifies the change for #16031 to allow the tree to properly restore
    state in case a debugger needs more time providing content.
    
    The expanded state is saved in a global variable. A check ensures that an
    intermittent empty tree does not override the global variable. Future refreshes
    of an empty tree will then restore the expanded state of variables.
    guw committed Oct 26, 2017
    Configuration menu
    Copy the full SHA
    2d94a3d View commit details
    Browse the repository at this point in the history