Code profiling for .NET Developers
Moderators: StephenC, Alex.Davies, AndrewH
I have .NET application that I want to profile. I saw the demo at the RedGate site and was really surprised by ANTS's ability to show the hit counts of individual lines in the code. But when I ran the profiler with my application, it is giving a list of methods taking the longest time, but I cannot see the code from where the methods were invoked.
And whats the meaning of the 'Hot' tag before a method. When I hover the mouse pointer on top of the method, I see this - "This method is part of the hottest stack trace through your application for the selected time period. Source code is not available for this method"
Whats the meaning?
- Posts: 1
- Joined: Fri Oct 09, 2009 12:54 am
The hot tag represents the most expensive stack trace where the greatest amount of time was spent in a method and its children.
Not being able to see the source code is either because they are not your methods or the pdb files are not located in the directory so ANTS can't display any source code view. Usually if you point ANTS at the Debug folder there will be pdb files in there and you will see the line level code timings.
Alternatively, have you switched the profiling mode from the options in the opening dialog? If you selected only method level timing profiling mode you won't see any line level timings.
Those are the most common reasons.
- Posts: 306
- Joined: Mon Oct 15, 2007 9:18 am
- Location: Cambridge
Return to ANTS Performance Profiler 5
Who is online
Users browsing this forum: No registered users and 0 guests