开发者

Profiling an app in vs2010 fails with an error Message

In visual studio 2010, I tried to profile a new winforms app (a fresh app with zero code added by me).

But the profiling (.Net Memory Allocation (Sampling)) but it fails with the following mesaage.

alt text http://www.freeimagehosting.net/uploads/796a701cc1.jpg

This is what the output window spits out after this error message

Profiling started.
Profiling process ID 3332 (WindowsFormsApplication1).
Process ID 3332 has exited.
Data written to D:\Finder.Net\WindowsFormsApplication1\WindowsFormsApplication1100702(3).vsp.
Profiling finished.
PRF002开发者_C百科5: No data was collected. 
Profiling complete.

Is this my fault. Am I doing something wrong here


I've got the same error, rebooted the machine, which was the solution that many forums gave, but to no avail. The problem with my test was that it was throwing an exception. Once I fixed it, the profiler ran successfully. So my suggestion is run the tests without the profiler first and once you are all green, kick in the profiler.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜