File tree Expand file tree Collapse file tree 3 files changed +2
-2
lines changed
Example/HeapInspectorExample/HeapInspectorExample Expand file tree Collapse file tree 3 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
1717 if (![[self class ] isRunningTests ]) {
1818 [HINSPDebug start ];
1919 [HINSPDebug addClassPrefixesToRecord: @[@" RM" ]];
20- [HINSPDebug recordBacktraces: YES ];
2120 }
2221
2322 RMRootViewController *rootViewController = [[RMRootViewController alloc ] init ];
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ NS_ASSUME_NONNULL_BEGIN
2626// / You can also record classes that are owned by specific Swift modules
2727+ (void )addSwiftModulesToRecord : (NSArray <NSString *> *)swiftModules ;
2828
29- // Default is NO
29+ // Default is YES
3030+ (void )recordBacktraces : (BOOL )recordBacktraces ;
3131
3232@end
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ - (instancetype)init
3030 self = [super init ];
3131 if (self) {
3232 [NSObject startSwizzle ];
33+ [[self class ] recordBacktraces: YES ];
3334
3435 CGRect rect = [UIScreen mainScreen ].bounds ;
3536 HINSPDebugWindow *window = [[HINSPDebugWindow alloc ] initWithFrame: rect];
You can’t perform that action at this time.
0 commit comments