Hi All,

I have a Core Data app that I am trying to debug.

If I simply run it, the main window loads fine.

If I try to run in debug mode, an exception is thrown before even loading the main nib. This problem seems to have started when I tried to put manual breakpoints in the code. Now, just hitting debug/run causes it to hang, regardless of whether manual breakpoints are activated. (objc_exception_throw is symbolic).

Since none of the methods below are things I have written, I'm not sure where to go from here. How can I go about finding out what is causing this?

Thanks.

Backtrace to follow....

#0  0x93192e17 in objc_exception_throw ()
#1  0x92022eeb in +[NSException raise:format:arguments:] ()
#2  0x92022f2a in +[NSException raise:format:] ()
#3  0x95140ff5 in -[_NSManagedProxy _managedObjectContext] ()
#4  0x95141026 in -[_NSManagedProxy _persistentStoreCoordinator] ()
#5  0x951410b4 in -[_NSManagedProxy _entity] ()
#6 0x95141379 in -[_NSManagedProxy fetchRequestWithSortDescriptors:limit:] () #7 0x94fe38cc in -[NSArrayController(NSManagedController) defaultFetchRequest] () #8 0x95140a74 in -[NSObjectController(NSManagedController) _executeFetch:didCommitSuccessfully:actionSender:] ()
#9  0x9527003e in _NSSendCommitEditingSelector ()
#10 0x95056d54 in -[NSController _controllerEditor:didCommit:contextInfo:] ()
#11 0x92028a3d in __invoking___ ()
#12 0x92028428 in -[NSInvocation invoke] ()
#13 0x920284f8 in -[NSInvocation invokeWithTarget:] ()
#14 0x90a4922e in __NSFireDelayedPerform ()
#15 0x91fa9b25 in CFRunLoopRunSpecific ()
#16 0x91fa9cd8 in CFRunLoopRunInMode ()
#17 0x901b62c0 in RunCurrentEventLoopInMode ()
#18 0x901b6012 in ReceiveNextEventCommon ()
#19 0x901b5f4d in BlockUntilNextEventMatchingListInMode ()
#20 0x94c41d7d in _DPSNextEvent ()
#21 0x94c41630 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()
#22 0x94c3a66b in -[NSApplication run] ()
#23 0x94c078a4 in NSApplicationMain ()
#24 0x00001d70 in main (argc=1, argv=0xbffff434) at /Users/....../ main.m:13

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to