From 4e94051d09204f1e5247114ca13cc20656b69e99 Mon Sep 17 00:00:00 2001 From: David Kean Date: Thu, 24 Nov 2022 11:45:22 +1100 Subject: [PATCH] Unhide fields from debugger These fields are important when looking at hangs/dumps to find relationships between the collection and the tasks they are blocked on. Unhide them so its easy to find them in Locals/Autos. --- src/Microsoft.VisualStudio.Threading/JoinableTask.cs | 2 -- src/Microsoft.VisualStudio.Threading/JoinableTaskCollection.cs | 1 - .../JoinableTaskDependencyGraph.cs | 1 - 3 files changed, 4 deletions(-) diff --git a/src/Microsoft.VisualStudio.Threading/JoinableTask.cs b/src/Microsoft.VisualStudio.Threading/JoinableTask.cs index cd65c018b..ae03d95d0 100644 --- a/src/Microsoft.VisualStudio.Threading/JoinableTask.cs +++ b/src/Microsoft.VisualStudio.Threading/JoinableTask.cs @@ -53,13 +53,11 @@ public partial class JoinableTask : IJoinableTaskDependent /// /// The to track dependencies between tasks. /// - [DebuggerBrowsable(DebuggerBrowsableState.Never)] private JoinableTaskDependencyGraph.JoinableTaskDependentData dependentData; /// /// The collections that this job is a member of. /// - [DebuggerBrowsable(DebuggerBrowsableState.Never)] private RarelyRemoveItemSet dependencyParents; /// diff --git a/src/Microsoft.VisualStudio.Threading/JoinableTaskCollection.cs b/src/Microsoft.VisualStudio.Threading/JoinableTaskCollection.cs index c71028d55..348a654db 100644 --- a/src/Microsoft.VisualStudio.Threading/JoinableTaskCollection.cs +++ b/src/Microsoft.VisualStudio.Threading/JoinableTaskCollection.cs @@ -32,7 +32,6 @@ public class JoinableTaskCollection : IJoinableTaskDependent, IEnumerable /// The to track dependencies between tasks. /// - [DebuggerBrowsable(DebuggerBrowsableState.Never)] private JoinableTaskDependencyGraph.JoinableTaskDependentData dependentData; /// diff --git a/src/Microsoft.VisualStudio.Threading/JoinableTaskDependencyGraph.cs b/src/Microsoft.VisualStudio.Threading/JoinableTaskDependencyGraph.cs index 4f054bdf9..c0de4ac3f 100644 --- a/src/Microsoft.VisualStudio.Threading/JoinableTaskDependencyGraph.cs +++ b/src/Microsoft.VisualStudio.Threading/JoinableTaskDependencyGraph.cs @@ -297,7 +297,6 @@ internal struct JoinableTaskDependentData /// /// When the value in an entry is decremented to 0, the entry is removed from the map. /// - [DebuggerBrowsable(DebuggerBrowsableState.Never)] private Dictionary childDependentNodes; ///