While my application works, I've found that becomes unresponsive to any commands and the CPU is 100% utilized. I've used a profiler and found that 99% of the application's time is spent in one method (which is not expected).
I'm not sure if this method is being called repeatedly or "cycles" somewhere inside (or probably dead-lock).
I didn't get much information from the profiler results:
I don't understand why two lines close to each other have such different numbers (one 16% and the other 0.2%).
How can I figure out where the problem is?