When the operating system encounters an unrecoverable error, for example, a segmentation violation (SEGV), the system creates a core dump file named core and places it in the current directory. The core file is not an executable file; it is a snapshot of the state of your process at the time the error occurred. It allows you to analyze the process at the point it crashed.
To enable core-file debugging, the debugger must be called with a core-file name at startup, such as:
> $ idb debuggee-name core-file-namewhere debuggee-name is the name of the executable that created the core dump file, core-file-name is the name of the core dump file.
Core file debugging is not supported on OS X*.