| Author |
Message |
simon.carter
Joined: 21 Dec 2010 Posts: 6
|
Posted: Tue May 24, 2011 1:54 pm Post subject: Three(?) bugs when running multiple instances of ANTS PP 6 |
|
|
I am trying to profile two different versions of the same .net4 c# app:
C:\SolutionA\myexe.exe
C:\SolutionB\myexe.exe
I have two instances of performance profiler open at once – version 6.2.0.13. I’m using detailed line-level profiling and loading previously saved profiler results in each instance.
When I look at the codeview in the second instance I see three oddities:
1. The hit count for a given line of code is different in the two instances – but I know it is called the same number of times in each case. The second instance usually – but not always – shows double the count I would expect.
2. The method drop-down at the top of the codeview shows two entries for each method in the class
3. The code view shows the wrong code – it is showing code from the first instance of the app.
I’m navigating to the method of interest by the same method in each instance of ANTS, namely switch to the methods grid, using the find box just above codeview to locate my class and then click on the required method in the methods grid.
If I close both instances and reopen just one then the profiler results appear as I expect.
What’s going on here? This is making life rather tricky at the moment and rather reduces my confidence in the results I'm being shown.
Am I missing something?
Simon |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6346 Location: Red Gate Software
|
Posted: Wed May 25, 2011 1:42 pm Post subject: |
|
|
Hi Simon,
Unfortunately we have no way to diagnose or prove/disprove any of the issues you see, but I assume that MyExe is always using the same source code, so perhaps the source code being picked up in one case has been modified by a new build. Unless you use the option to save the source code into the results, Profiler is going to load it from disk regardless of wheter or not that version of the source code applies to a newer or older build. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
simon.carter
Joined: 21 Dec 2010 Posts: 6
|
Posted: Wed May 25, 2011 1:53 pm Post subject: |
|
|
Thanks for your attention.
Each exe is build by different source code on disk
I should have said that the two paths are more like
C:\SolutionA\source\bin\release\myexe.exe
C:\SolutionB\source\bin\release\myexe.exe
The respective exes are being generated by the source in their parent folders and are not being rebuilt. Nor are they being cached in the GAC or anything like that.
Where is the option to include source in the results? I can't find it. |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6346 Location: Red Gate Software
|
Posted: Wed May 25, 2011 2:08 pm Post subject: |
|
|
Tools->Options->Include source code with saved results _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
simon.carter
Joined: 21 Dec 2010 Posts: 6
|
Posted: Wed May 25, 2011 2:13 pm Post subject: |
|
|
| Thanks - I had that set already. Anything I can do to help you diagnose this? I could let you have my results files if that helps. |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6346 Location: Red Gate Software
|
Posted: Fri May 27, 2011 4:57 pm Post subject: |
|
|
Don't know of any documented issue of this and there isn't any useful troubleshooting information in the product. I tried to reproduce the behavior but I cannot. Can you try using Process Explorer to monitor Performance Profiler and make absolutely sure it's not trying to load stale source code from disk? _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group