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

Variables that have changed since previous debug stop should be displayed with a "dirty" indicator #57

Closed
rkeithhill opened this issue Dec 3, 2015 · 3 comments
Labels
Issue-Enhancement A feature request (enhancement).
Milestone

Comments

@rkeithhill
Copy link
Contributor

This is borrowing another page from Visual Studio where it shows the value of a variable in a different color when the variable's value has changed since the previous debug stop e.g.:
localvariabledirty
Doing this requires at least two new capabilities. First we have to keep the previous debug stop's top level set of variables. From what I can tell this feature doesn't need to support change indicator for when a composite variables properties or fields have changed. Second, we need a way to compare objects (or determine that we can't compare objects).

VSCode limits us in what we can display in the Variables tool window. It doesn't let us color text for a specific variable value so we can't do it exactly like Visual Studio. The current proposal is to display a changed variable like so:

Locals
  $i: 1 *
@rkeithhill rkeithhill added the Issue-Enhancement A feature request (enhancement). label Dec 3, 2015
@rkeithhill rkeithhill changed the title Variables that have changed since previous debug stop are displayed with a "dirty" indicator Variables that have changed since previous debug stop should be displayed with a "dirty" indicator Dec 3, 2015
@daviwil
Copy link
Contributor

daviwil commented Dec 3, 2015

Looks like VS Code team might implement this behavior on their side:

microsoft/vscode#866

@rkeithhill
Copy link
Contributor Author

Saw that. That would be way cool.

@daviwil daviwil modified the milestone: Backlog Dec 31, 2015
@rkeithhill
Copy link
Contributor Author

VSCode has implemented this. This is the new VSCode UI for dirty indicators"

vscodechangedvariable

@daviwil daviwil modified the milestones: 0.4.0, Backlog Feb 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Enhancement A feature request (enhancement).
Projects
None yet
Development

No branches or pull requests

2 participants