.NET app crash only during profiling
devdept
Posts: 27
Hi RG,
What should I do if my app crashes only during profiling with a random exception?
I am working on a .NET 3.5 project with AnyCPU platform setting on a Vista Business x64 PC.
Thanks,
Alberto
What should I do if my app crashes only during profiling with a random exception?
I am working on a .NET 3.5 project with AnyCPU platform setting on a Vista Business x64 PC.
Thanks,
Alberto
Comments
It's going to be difficult to give advice about random failures in the code even if it is ANTS Profiler's faul. Most commonly, there are problems with code that profuces and JITs its' own IL code because ANTS Profiler's IL rewriting is trying to do exactly the same thing. In this case, you can get method-level timings, but line-level timings would cause this type of crash.
Changing ANTS Profiler to only use method-level timings should hopefully work for you.
No, it doesn't help and I really find it difficult to understand your explanation.
Thanks,
Alberto
Why it didn't happen on Vista Business x86?
Thanks,
Alberto
After fixing a few things the problem is not so frequent as before. I'll keep you updated.
Thanks,
Alberto