Sfoglia il codice sorgente

Don't call methods on objects in instances screen

Tanner Bennett 6 anni fa
parent
commit
dcdd638719

+ 0 - 5
Classes/GlobalStateExplorers/FLEXInstancesViewController.m

@@ -88,11 +88,6 @@
     
     
     NSMutableArray<FLEXObjectRef *> *instances = [NSMutableArray array];
     NSMutableArray<FLEXObjectRef *> *instances = [NSMutableArray array];
     [FLEXHeapEnumerator enumerateLiveObjectsUsingBlock:^(__unsafe_unretained id tryObject, __unsafe_unretained Class actualClass) {
     [FLEXHeapEnumerator enumerateLiveObjectsUsingBlock:^(__unsafe_unretained id tryObject, __unsafe_unretained Class actualClass) {
-        // Skip Swift objects
-        if ([actualClass isKindOfClass:SwiftObjectClass]) {
-            return;
-        }
-        
         // Get all the ivars on the object. Start with the class and and travel up the inheritance chain.
         // Get all the ivars on the object. Start with the class and and travel up the inheritance chain.
         // Once we find a match, record it and move on to the next object. There's no reason to find multiple matches within the same object.
         // Once we find a match, record it and move on to the next object. There's no reason to find multiple matches within the same object.
         Class tryClass = actualClass;
         Class tryClass = actualClass;