Mahesh Chand
posted
4021 posts
since
Oct 29, 2004
from
Philadelphia
|
|
Re: Program freezes
|
|
|
|
|
|
|
|
|
|
|
I would recommend and download ANTS Profiler from RedGate Software. It has a 14 days free trial. It will tell you exactly what line of code (even within the assembly) took how much time and where it got stuck.
Hope it helps!
|
|
|
|
|
|
Sam Hobbs
posted
6490 posts
since
Sep 07, 2009
from
Los Angeles, California, USA
|
|
Re: Program freezes
|
|
|
|
|
|
|
|
|
|
|
Do you know how to use the debugger to single-step through code and to see what the actual data is?
|
|
|
|
|
Thinking is a feeling; pleasant for some and unpleasant for others.
|
|
|
|
|
|
krishna v
posted
16 posts
since
Feb 08, 2006
from
|
|
Re: Program freezes
|
|
|
|
|
|
|
|
|
|
|
If it is freezing in Debug builds u will be lucky enough.
If you are running multilple threads.. may be thread synchronization issues. Check the memory usage of the app. it is growing then may be coz of memeory leaks.. try to look for un-managed objects.
may be unhandled exceptions causing some issue.. to check any of the exceptions thrown in this scenario from visual studio enable break on exceptions.. may be it will give a clue.
Difficult to guess the exact reason.. may be a profilers can give u some clues.
|
|
|
|
|
|