EXC_BAD_ACCESS 是虾米意思

来源:互联网 发布:unity3d第三人称控制器 编辑:程序博客网 时间:2024/04/28 11:39

/*

 *Machine-independent exception definitions.

 */

 

#define EXC_BAD_ACCESS1/* Could not access memory */

/* Code contains kern_return_t describing error. */

/* Subcode contains bad memory address. */

 

#define EXC_BAD_INSTRUCTION2/* Instruction failed */

/* Illegal or undefined instruction or operand */

 

#define EXC_ARITHMETIC3/* Arithmetic exception */

/* Exact nature of exception is in code field */

 

#define EXC_EMULATION4/* Emulation instruction */

/* Emulation support instruction encountered */

/* Details in code and subcode fields*/

 

#define EXC_SOFTWARE5/* Software generated exception */

/* Exact exception is in code field. */

/* Codes 0 - 0xFFFF reserved to hardware */

/* Codes 0x10000 - 0x1FFFF reserved for OS emulation (Unix) */

 

#define EXC_BREAKPOINT6/* Trace, breakpoint, etc. */

/* Details in code field. */

 

#define EXC_SYSCALL7/* System calls. */

 

#define EXC_MACH_SYSCALL8/* Mach system calls. */

 

#define EXC_RPC_ALERT9/* RPC alert */

 

#define EXC_CRASH10/* Abnormal process exit */