Skip to content

Call DkmClrValue.Close more conservatively - #917

Merged
amcasey merged 1 commit into
dotnet:masterfrom
amcasey:GH901
Feb 27, 2015
Merged

Call DkmClrValue.Close more conservatively#917
amcasey merged 1 commit into
dotnet:masterfrom
amcasey:GH901

Conversation

@amcasey

@amcasey amcasey commented Feb 26, 2015

Copy link
Copy Markdown
Member

The problem arises when more than one expanion shares the same value - for
example, those parented by a common AggregateExpansion. Since this is an
optimization anyway (the debugger would eventually close them on its own),
we'll just conservatively focus on member and array expensions, since they
always "own" the value in aggregate expansions.

Fixes #901.

@amcasey

amcasey commented Feb 26, 2015

Copy link
Copy Markdown
Member Author

FYI @KevinH-MS @cston @pnelsonmsft @ManishJayaswal

@ManishJayaswal

Copy link
Copy Markdown
Contributor

LGTM

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

true?

@KevinH-MS

Copy link
Copy Markdown
Contributor

👍

The problem arises when more than one expansion shares the same value -
for example, those parented by a common AggregateExpansion.  Since this is
an optimization anyway (the debugger would eventually close them on its
own), we'll just conservatively focus on data items without children.

Fixes dotnet#901.
amcasey added a commit that referenced this pull request Feb 27, 2015
Call DkmClrValue.Close more conservatively
@amcasey
amcasey merged commit 0d589d1 into dotnet:master Feb 27, 2015

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we close array element values of reference types?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DataTips not available for items with AggregateExpansion (ObjectDisposedException in DkmClrValue.EvalFlags)

5 participants