Tips for debugging EXC_BAD_ACCESS

Jacob Carlborg doob at me.com
Sun Oct 14 12:38:21 PDT 2012


On 2012-10-11 20:19, Michel Fortin wrote:

> Most likely, the object objc_msgSend is called on has been deallocated,
> which would mean that windowSendEvent is called with a deallocated
> NSWindow object as its first argument.

I found the problem now, it's really embarrassing. I had missed passing 
the argument of any super call taking one argument:

https://github.com/d-widget-toolkit/dwt-mac/commit/d6674c1074e8a58600cb5052a79b784ae0d3b366

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list