I am using Xcode 4.2 for MacOS Lion. When debugging an iPhone / iPad application in Simulator, I use the Stop button on the Xcode toolbar (Product | Stop) to exit the application. Very often, after this, Xcode opens the main.m file, places the execution pointer on the UIApplicationMain call, and says: "Program received by SIGKILL." About a second after that, it disables debugging mode, so I cannot debug this error. My application includes many threads, so I think it could be about fetching resources when the threads are still running, or something like that. It might even be normal, and I donβt care what the problem is about, because the application still terminates. But, seeing this SIGKILL after each debugging is really annoying. How can I debug it? Alternatively, is there a way to disable it?
EDIT: there is nothing in the console except a normal activity log (without alarm data, for example, with regular exceptions).
objective-c xcode
Nick Frolov Oct 26 '11 at 10:09 2011-10-26 10:09
source share