WPF 3.5 has PresentationTraceSources for diagnostics and WPFPerf for performance and data binding diagnostics.
Are there equivalent tools / libraries for Silverlight?
I don't think it's as robust as WPF but here is some things you can do.