Red Gate forums :: View topic - Viewing process source code
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Performance Profiler 6
ANTS Performance Profiler 6 forum

Viewing process source code

Search in ANTS Performance Profiler 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message
rnbguru



Joined: 29 Mar 2011
Posts: 4

PostPosted: Mon Apr 25, 2011 6:30 pm    Post subject: Viewing process source code Reply with quote

Using the performance profiler, I am trying to view the source code for some of the classes in my project. However, whenever I click on classes, I receive the message "To show source code here, click on a method for which source code is available." However, no methods have source code.

I am running the project by attaching to a running service. Is there anyway to load the source code, or to direct the profiler to where it can find the source code?
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6674

PostPosted: Tue May 24, 2011 1:28 pm    Post subject: Reply with quote

Unfortunately there is no way to control the libraries that locate source code as they are shipped by Microsoft in diasymreader.dll. The basic rules are, make sure the .pdb files exist and match the assemblies being profiled (same build/version numbers). Typically the .pdbs are found in the same folder as the assembly being profiled.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic 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