diff --git a/src/Microsoft.Diagnostics.Runtime/ClrHandle.cs b/src/Microsoft.Diagnostics.Runtime/ClrHandle.cs index cacab6035..a72c6febc 100644 --- a/src/Microsoft.Diagnostics.Runtime/ClrHandle.cs +++ b/src/Microsoft.Diagnostics.Runtime/ClrHandle.cs @@ -27,6 +27,11 @@ internal ClrHandle(ClrRuntime runtime, in ClrHandleInfo handle) HandleKind = handle.Kind; ReferenceCount = handle.RefCount; RootKind = IsStrong ? (ClrRootKind)HandleKind : ClrRootKind.None; + + if (handle.Kind == ClrHandleKind.Dependent && handle.DependentTarget != 0) + { + Dependent = runtime.Heap.GetObject(handle.DependentTarget); + } } ///