Reputation: 3539
I have a WPF application, that is sometimes freezing for maybe a half minute and then works fine. I am thinking to profile that application. Anybody knows a good tutorial of how to profile WPF application? Or anybody has any idea on finding a way to know when it is freezing? The freezing is not consistent, and not related to any usage pattern
Thanks for help.
Ghassan
Upvotes: 11
Views: 7375
Reputation: 40699
Profiling is overkill. During that half minute, it's waiting for something. Just pause it and see what it's waiting for.
Upvotes: 2
Reputation: 32578
There is a toolset in the Windows SDK called WPFPerf - it has a set of tools (like Perforator) that help specifically with WPF debugging and profiling. Here's a quick guide on these tools.
For general .net profiling, RedGate Ants or JetBrains' dotTrace are great. There is also some profiling included in Visual Studio 2005/2008 (and better ones in 2010?).
Upvotes: 10