private static ClrClassObject GetSubjectFromSession(DebugSession session)
        {
            var runtime = session.CreateRuntime();

            return(runtime.Heap
                   .EnumerateAllClrObjects()
                   .OfType <ClrClassObject>()
                   .Single(i => i.Type.CanBeAssignedTo <HeapAnalysisTarget.Program>()));
        }