Skip to content

Commit

Permalink
Always emit "Symbol Path: ", even when running --nolldb (#488)
Browse files Browse the repository at this point in the history
Always emit "Symbol Path: ", even when running `--nolldb`
  • Loading branch information
dwarfland authored Nov 19, 2020
1 parent 18d7597 commit 9233ad0
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/ios-deploy/ios-deploy.m
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,16 @@ void mount_developer_image(AMDeviceRef device) {

on_error(@"Unable to mount developer disk image. (%x)", result);
}


CFStringRef symbols_path = copy_device_support_path(device, CFSTR("Symbols"));
if (symbols_path != NULL)
{
NSLogOut(@"Symbol Path: %@", symbols_path);
NSLogJSON(@{@"Event": @"MountDeveloperImage",
@"SymbolsPath": (__bridge NSString *)symbols_path
}); CFRelease(symbols_path);
}

CFRelease(image_path);
CFRelease(options);
}
Expand Down

0 comments on commit 9233ad0

Please sign in to comment.