I\'m trying to put the equivalent of asm{int 3} (or similar) into my iPhone program. My goal is to have Xcode stop exactly on the offending line, without having
asm{int 3}
Direct equivalent of x86 int3 / int 3 in arm / arm64 is
int3
int 3
#if TARGET_CPU_ARM | TARGET_CPU_ARM64 | TARGET_CPU_ARM64E asm volatile("trap"); #endif