App crash with "Debugging Terminated"
<p>I have CLLocation variable declared i gave it a value but when i use it at other place, app crash with "Debugging Terminated" without any logs in console</p>

<pre><code>CLLocation *userLoc;

-(void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)oldLocation
{
    userLoc=newLocation;
    [self somefunction];
}
-(void) somefunction
{
NSLog(@"%@",userLoc);
}
</code></pre>

<p>here it log userLoc properly</p>

<p>but in my other method</p>

<pre><code>- (void) tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath*) indexPath
{
NSLog(@"%@",userLoc);
}
</code></pre>

<p>here app crash.
Please help</p>
