Note that there are some explanatory texts on larger screens.

plurals
  1. POWarning message Attempting to create USE_BLOCK_IN_FRAME variable with block that isn't in the frame
    text
    copied!<p>When setting <code>exception breakpoint</code> and debugging getting warning message that Catchpoint 2 (exception thrown).Current language: auto; currently objective-c warning: Attempting to create <code>USE_BLOCK_IN_FRAME</code> variable with block that isn't in the frame. (gdb) </p> <p>What does it means.</p> <p>In my case in the mainviewcontroller on UIToolbar have plapause toggle button which when hits plays audio file and loads 20 view controllers one after the other by using perform selector </p> <pre><code>-(void)playpauseAction:(id)sender { if ([audioPlayer isPlaying]){ [sender setImage:[UIImage imageNamed:@"play.png"] forState:UIControlStateSelected]; [audioPlayer pause]; } else { [sender setImage:[UIImage imageNamed:@"pause.png"] forState:UIControlStateNormal]; [audioPlayer play]; [self performSelector:@selector(displayviewsAction:) withObject:nil afterDelay:11.0]; } } - (void)displayviewsAction:(id)sender { FirstViewController *viewController = [[FirstViewController alloc] init]; viewController.view.frame = CGRectMake(0, 0, 320, 480); [self.view addSubview:viewController.view]; [self.view addSubview:toolbar]; [self performSelector:@selector(secondViewController) withObject:nil afterDelay:23]; [viewController release]; } -(void)secondViewController { SecondViewController *secondController = [[SecondViewController alloc] init]; secondController.view.frame = CGRectMake(0, 0, 320, 480); [self.view addSubview:secondController.view]; [self.view addSubview:toolbar]; [self performSelector:@selector(ThirdviewController) withObject:nil afterDelay:27]; [secondController release]; } </code></pre> <p>When simply try to run the application in simulator it works fine but when debug with exception breakpoint and hits play button to start debugging gets this warning message.</p> <p>Anyone have ideas what is going on with exception breakpoint.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload