开发者

Debuging to simulator crashes with "exited with status 5" unless I have breakpoint

开发者 https://www.devze.com 2022-12-24 22:57 出处:网络
For some reason the app I am working on has very bad PMT! Literally! Most of the time I cannot debug using the simulator without putting a breakpoint in my AppDelegate. If I don\'t it exists with \"st

For some reason the app I am working on has very bad PMT! Literally! Most of the time I cannot debug using the simulator without putting a breakpoint in my AppDelegate. If I don't it exists with "status 5". If I put a break point in and simple continue it works perfectly well, it also works if I run the app in the simulator when not connected to the GDB.

I have tri开发者_StackOverflowed the source on a second machine with exactly the same results. I dont have this issue building to the device?!?!?!

Thanks


from : http://forums.pragprog.com/forums/100/topics/2168

Sep 14, 2010 9:55am

Mark Allen
(1 post)
I had this too. Fortunately I had the project under source control, so I did
a diff and realised the project file is not the culprit. Turns out there is no
need to create new projects or anything. Just delete your personal settings files
for the project. They will be username.mode1v3 and username.pbxuser. I didn’t 
figure out which file was the cause, but deleting them sorted it out.


I had same problem. Restarting X-Code didn't help.

What did help was clearing all my breakpoints.

From the X-Code menu, click Run -> Show -> Breakpoints, then, from the breakpoints screen delete all breakpoints. Shut down the simulator, then rebuild the project.

Problem solved for me.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号