Just in case you find the original link for the CRM 4.0 Diagnostics Tool has been removed, you can download it from here: CrmDiagTool4.zip
Also use the Stunnware CrmTraceLogViewer.zip to analyse a trace file.
KB907490: How to enable tracing in Microsoft Dynamics CRM