Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8755383
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T13:50:46+00:00 2026-06-13T13:50:46+00:00

How do i fix the below coding so no breakpoint occur while running the

  • 0

How do i fix the below coding so no breakpoint occur while running the app in simulator.
As soon as i save and run the application, it says no issues but immediately after the running process it stops and says breakpoint 3.1 4.1 errors.

#import "XYZViewController.h"
#import <MediaPlayer/MediaPlayer.h>


@interface XYZViewController ()


@end

@implementation XYZViewController

 - (void)viewDidLoad

{
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.

    NSString *movFile = [[NSBundle mainBundle]pathForResource:@"movie1" ofType:@"MP4"];


    movPlayer = [[MPMoviePlayerController alloc]  initWithContentURL: [NSURL fileURLWithPath:movFile]];

     movPlayer.allowsAirPlay=YES;
    [movPlayer.view setFrame:CGRectMake(0, 0, 320, 480)];
    [self.view addSubview:movPlayer.view];
    [movPlayer play];


}


- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.


}

@end
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T13:50:47+00:00Added an answer on June 13, 2026 at 1:50 pm

    A breakpoint either occurs either if you set one or if there’s a runtime error. If you haven’t set a break point there, then it’s a runtime error.

    Given that you mention a 3.1 4.1 error, this suggests a runtime error. You should look carefully at the line where the breakpoint occurs and see if there’s anything wrong. Also, posting where this breakpoint is will help others help you.

    Not knowing where the breakpoint is, my guess is that you don’t have the movie filename correct (Remember that iOS is case sensitive) or movie1.MP4 isn’t added to the project.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I can fix the below exception with a try-catch loop but I cannot understand
I need to fix a issue for xss vulnerability. the code segment is below.
How do I fix the code below to store a lambda so I can
ModelMultipleChoiceField doesn't select initial choices and I can't make the following fix (link below)
there's this problem I'm having, while coding a little table with an hover-effect, causing
To fix the UITextview blue color issue for links in ios ( i want
How can I fix the following error? error: cs0016 could not write to output
I am trying to fix a regular input box with padding, border, inside a
I found how to fix div position using jQuery. Here is an example .
Is it possible to fix the position of a table, such that it scrolls

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.