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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T00:49:19+00:00 2026-05-14T00:49:19+00:00

One of the crash reporter frameworks I’ve found does it like this: If there

  • 0

One of the crash reporter frameworks I’ve found does it like this: If there exist crash reports in the ~/Library/Logs/CrashReporter folder for the app, it determines that a crash occurred before. Then it allows the user to send the developer the crash log. And the finally, it deletes those logs.

It is this deletion that is bothering me. It’s not acceptable to me. Maybe the user wants to look at those logs later. It is simply rude to the user to just delete his crash logs.

So I’m looking for a better way to determine the crash.

It doesn’t really work to store the last read crash logs in the user defaults or the user data, because that would mean that if the user deletes the data and defaults (which he has a right to do whenever he or she wishes), and then launches the app, it will be detected as crashed the last time it was quit. So this doesn’t work.

Any ideas?

  • 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-14T00:49:19+00:00Added an answer on May 14, 2026 at 12:49 am

    Write to a file every time you exit. Read that file every time you open the program. Write a specific integer to the file every time the program is exited that is read every time the program is started.

    For example if a 0 is written to a file that may signify a non-crash. Anything else signifies a crash.

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

Sidebar

Related Questions

I got couple of crash reports like this one and I'm not sure what
This is on the top of one of my crash reports. Is there any
GDB does not see any threads besides the one in which crash occurred; or
While analyzing our crash logs I discovered that a fairly common crash is one
I have one crash in my iPhone application that does throw an NSException. The
This is one crash log I've downloaded from iTunesConnect website. Incident Identifier: 20D5CB0F-58BE-41E5-B3F6-9BC8091E518C Hardware
One of my users is reporting a crash on his device, an iPhone 3GS.
One of my customers is experiencing a crash in my WPF application when saving
We recently had one of our JVM's crash, leaving behind a core dump file
With the let it crash philosophy of Erlang, one would expect the entire VM

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.