Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where are core dump files stored on the iPhone?

I am writing an application in objective c. I know that the .crash and .plist files (core dump files) are viewable when iPhone is synced with the Xcode Organizer in Library/Logs/CrashReporter/MobileDevice/(iPhone hostname). However, my application requires that I am able to view the files on the Iphone itself. Does anyone know the exact folder where these files are held?

Any help is very much appreciated!

like image 946
Jared Aaron Loo Avatar asked Aug 19 '11 08:08

Jared Aaron Loo


People also ask

Where are core dumps saved?

By default, all core dumps are stored in /var/lib/systemd/coredump (due to Storage=external ) and they are compressed with zstd (due to Compress=yes ). Additionally, various size limits for the storage can be configured. Note: The default value for kernel. core_pattern is set in /usr/lib/sysctl.

How do I view core dump files?

In a terminal, run sleep 30 to start a process sleeping for 30 seconds. While it is running, press Ctrl + \ to force a core dump. You'll now see a core file in the directory you are in.

Where are core files stored?

On Linux operating systems, core files are, by default, named "core" and are located in the working directory of the application which faulted. In the case of TM1, this is usually the tm1/bin64 directory.

Can I delete core dump files?

You can clean core dump files through the command-line interface in the IBM® Security Privileged Identity Manager virtual appliance.


1 Answers

They should be in /var/mobile/Library/Logs/

like image 171
Luke Morgan Avatar answered Oct 21 '22 08:10

Luke Morgan