Some really nice and helpful tools for SWT development and debugging you can find under: http://www.eclipse.org/swt/tools.php
Sleak helps you in finding memory leaks in your SWT software. E.g.: if you forgot to free your memory. This is necessary in SWT for all classes which implement the interface Resource, like Image, Font, Color, etc.
Sleak can take a snapshot at a given time and compare it after some time with another snapshot taken.
For Sleak you need to turn on some trace options under your Run Configuration choose Tracing->org.eclipse.ui and check debug and trace/graphics.
Spy helps you by displaying all the information about certain UI components by hovering with your mouse.
By the way, you can get also the source code of these tools, we integrated this tools into a debug view with our software.
Keine Kommentare:
Kommentar veröffentlichen