debug warnings

Jesse Phillips jessekphillips at gmail.com
Sat Mar 8 13:28:43 PST 2008


On Fri, 07 Mar 2008 09:34:04 +0100, Frank Benoit wrote:

> Jesse Phillips schrieb:
>> One of the things in SWT is that there are objects that need to be
>> disposed of after creation. I first am wondering if this still applies,
>> which I think it does. The other things is that I think that a debug
>> statement could be thrown in that when enabled would print a massage
>> saying, "object [type] that needs disposed of has been created." then
>> dispose could have, "object [type] has been disposed." This would allow
>> tracking of undisposed objects.
>> 
>> I'd be willing to add it, just want to get opinions.
> 
> http://www.eclipse.org/articles/swt-design-2/swt-design-2.html
> 
> I haven't looked at the sources, but perhaps it is possible to port the
> Sleak tool.
> http://www.eclipse.org/articles/swt-design-2/sleak.htm

Interesting, I might look into porting that, but right now finals are 
coming up. (I realize there's no hurry)


More information about the Digitalmars-d-dwt mailing list