Skip to content

Commit 9233ad0

Browse files
authored
Always emit "Symbol Path: ", even when running --nolldb (#488)
Always emit "Symbol Path: ", even when running `--nolldb`
1 parent 18d7597 commit 9233ad0

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/ios-deploy/ios-deploy.m

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,16 @@ void mount_developer_image(AMDeviceRef device) {
658658

659659
on_error(@"Unable to mount developer disk image. (%x)", result);
660660
}
661-
661+
662+
CFStringRef symbols_path = copy_device_support_path(device, CFSTR("Symbols"));
663+
if (symbols_path != NULL)
664+
{
665+
NSLogOut(@"Symbol Path: %@", symbols_path);
666+
NSLogJSON(@{@"Event": @"MountDeveloperImage",
667+
@"SymbolsPath": (__bridge NSString *)symbols_path
668+
}); CFRelease(symbols_path);
669+
}
670+
662671
CFRelease(image_path);
663672
CFRelease(options);
664673
}

0 commit comments

Comments
 (0)