I tried by setting break point on objc_exception_throw.   Unable to get 
anything from the stack trace.  

Following is the stack trace.

#0  0x00007fff835d70da in objc_exception_throw ()
#1  0x00007fff81060c9b in -[NSBrowser _beginColumnDragging] ()
#2  0x00007fff8105b04f in -[NSBrowserTableView draggingEntered:] ()
#3  0x00007fff81114bac in NSCoreDragTrackingProc ()
#4  0x00007fff825b24ce in DoTrackingMessage ()
#5  0x00007fff825b27e0 in SendTrackingMessage ()
#6  0x00007fff825b4001 in DragInApplication ()
#7  0x00007fff825b4b1d in CoreDragStartDragging ()
#8  0x00007fff81115eb8 in -[NSCoreDragManager _dragUntilMouseUp:accepted:] ()
#9  0x00007fff811158fe in -[NSCoreDragManager 
dragImage:fromWindow:at:offset:event:pasteboard:source:slideBack:] ()
#10 0x00007fff813d0a72 in -[NSWindow(NSDrag) 
dragImage:at:offset:event:pasteboard:source:slideBack:] ()
#11 0x00007fff812dd24d in -[NSTableView 
_doImageDragUsingRowsWithIndexes:event:pasteboard:source:slideBack:startRow:] ()
#12 0x00007fff8105b134 in -[NSBrowserTableView 
_doImageDragUsingRowsWithIndexes:event:pasteboard:source:slideBack:startRow:] ()
#13 0x00007fff80f2e2ca in -[NSTableView _performDragFromMouseDown:] ()
#14 0x00007fff80f2cb9b in -[NSTableView mouseDown:] ()
#15 0x00007fff8105b961 in -[NSBrowserTableView mouseDown:] ()
#16 0x00007fff80ecf34f in -[NSWindow sendEvent:] ()
#17 0x00007fff80e04a86 in -[NSApplication sendEvent:] ()
#18 0x00007fff80d9b4da in -[NSApplication run] ()
#19 0x00007fff80d941a8 in NSApplicationMain ()
#20 0x0000000100001e54 in start ()


 *** Canceling drag because exception 'NSInternalInconsistencyException' 
(reason 'Can not nest column dragging sessions') was raised during a dragging 
session

I think the above exception says that, its not possible to nest dragging 
sessions. I'm not sure where its happening.
 


Thanks,
Naresh Kongara


On Apr 15, 2011, at 11:27 AM, Corbin Dunn wrote:

> 
> 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