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 6012635
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T02:25:57+00:00 2026-05-23T02:25:57+00:00

My iphone app is crashing with this in the debug window: Program ended with

  • 0

My iphone app is crashing with this in the debug window:

Program ended with exit code: 87

Does anyone know what this exit code refers too. Google isn’t helping much.

UPDATE: I have found that this was being caused when I was trying to call

[mutArray objectForIndex:indexpath.row]

and the index was outside the range of the array.

The stacktrace didn’t include anything else besides the code 87 message. Also the console window didn’t even slide up when the app crashed. Not very useful I guess. Anyone know how to make it more useful in these situations?

  • 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-05-23T02:25:58+00:00Added an answer on May 23, 2026 at 2:25 am

    “Anyone know how to make it more useful in these situations?”

    First, use CMD-SHIFT-R in XCode to show the console window. You should have seen an error message about accessing an array with an out of bounds index.

    Also, use CMD-Y to build & debug (vice CMD-R to build & run) your app. If it crashes, you will be in the debugger (CMD-SHIFT-Y for debug window) with the exact line of code that crashes, as well as a stack trace, all your variables, etc.

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

Sidebar

Related Questions

My iPhone app is crashing and getting EXC_BAD_ACCESS error when using this code: NSError
My iPhone app started logging this error: lo->hi recycling invariant violated! followed by: Program
My app is crashing using iOS5 and iOS4.3 iPhone simulators in Xcode 4.2, the
My app is crashing on 3.1.3 because of this NSConcreteBlock error. I read the
I recently had an app rejected for crashing on launch on an iPhone 5
In an iPhone app I currently have code for downloading a file from the
Our iPhone app code currently uses NSURLConnection sendSynchronousRequest and that works fine except we
my iphone app builds fine in debug configuration, but when i change it to
I have this problem of my app crashing (only when press a certain UIButton)
I'm writing an iPhone application using Monotouch and recently the app has started crashing

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.