Hi Jyotsna,
Unfortunately, the profiler does not currently do line-level instrumentation, so we cannot tell you how many times each line in a method executes. One way you can kind of simulate this is to move portions of code that you care about into their own methods and then see how many times those methods were executed. This obviously won't work so well for every line of code in every method, but it can help narrow down your investigation.
Also, if you're using VS2008, we do have line-level sampling information. We can tell you the line of source code on which a specific sample was taken. This helps you to see which lines in a method are "hot".
Regards,
Chris
- Marked As Answer byRoahn LuoMSFT, ModeratorMonday, October 05, 2009 2:05 AM
-