I am trying to run the following code:
1. NSURL *checkLicenseURL = [NSURL URLWithString:@"check_license.php?accesskey=&license_key="];
But when viewing variables in gdb after line 1 execution
p checkLicenseURL
returns
$1 = <variable optimized away by compiler>
This also causes line 3 to crash. Why is this happening and how to fix it?
source share