S-Leak: SWT Graphics Resource Leak Debugging
From: Robert Simmons <kraythe_at_arcor.de>
Date: 2004-09-25 01:04:43 CEST
Greetings folks. I have rewritten a plugin for eclipse called S-Leak. What
---- The S-Leak Plugin and core, revamped for Eclipse 3.0 Well I rewrote S-Leak massively. =) In fact, I think it is quite spiffy as it is now. I will be attaching the plugin to this bug as of now. I would appreciate any feedback; indeed I am eagerly awaiting it. I merely need to do some user documentation and we can call the chicken cooked. I am donating the plugin back to the eclipse project. In fact there are two plugins. One is S-Leak itself and the other is a plugin I made that has some tools for manipulating and editing rgular expressions in the Eclipse IDE. To use the plugin, follow these simple steps: 1) Unzip it into your eclipse directory (the .options file should be in the eclipse main directory while the plugins are in the plugins directory) 2) Run eclipse with the command line flag -debug After you have done these you can open the view S-Leak view and you can look at the preference page for SLeak. For those of you who dont know about S-Leak, it's a dangling resource tracker for SWT based applications. In SWT when we allocate resources such as fonts or images, we have to make sure to dispose them later. However, sometimes we miss them and this guy helps you find the ones you missed. It provides a stack trace of when the resource was created as well as a preview of the resource (if possible). It uses A LOT of Eclipse functionality to accomplish this. =) -- Regards -- Robert Simmons Jr. -- Robert Simmons Jr. -- Senior Software Architect, Consultant Author of "Hardcore Java", Published by O'Reilly, ISBN: 0-596-00568-7, http://www.oreilly.com/catalog/hardcorejv
|
This is an archived mail posted to the Subclipse Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.