On Apr 14, 2011, at 5:16 PM, Naresh Kongara wrote:

> HI All,
> 
> I implemented drag and drop in NSBrowser, through which I can drag items from 
> other views or windows of the applications. The drag and drop in NSBrowser is 
> implemented through its delegate methods.
> Everything is going fine except I'm getting the following exception while 
> dropping, after which the draggedImage is slide back to original position. 
> 
> *** Canceling drag because exception 'NSInternalInconsistencyException' 
> (reason 'Can not nest column dragging sessions') was raised during a dragging 
> session
> 
> 
> Does any one has any idea/solution for the above exception.

Break on objc_exception_throw and look at the bt.

Don't forget that it is your number on breakpoint.
http://www.corbinstreehouse.com/blog/2008/08/your-most-important-breakpoint-in-cocoa/

Xcode 4 makes it even easier to break on it.

corbin


_______________________________________________

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