Got "This method has no associated source code" info.

Code profiling for .NET Developers

Moderators: StephenC, Alex.Davies, AndrewH

Got "This method has no associated source code" info.

Postby yutien » Thu Jan 28, 2010 11:39 am

I have all files ("abc.dll", "abc.pdb" and "abc.cs").
But the tool just show me "This method has no associated source code" info to me.

In my project is use "Assembly.Load(dll, pdb);" to load "abc.dll" and "abc.pdb" files.

Please help me, how to do ? I need see the source code in the tool.

Thank you.. :)
yutien
 
Posts: 2
Joined: Thu Jan 28, 2010 11:33 am

Postby Chris.Allen » Tue Feb 02, 2010 9:33 pm

can you ensure that the pdb files are all in the same directory as the main executable?
Chris.Allen
 
Posts: 594
Joined: Thu Mar 12, 2009 4:17 pm

Postby yutien » Wed Feb 03, 2010 3:02 am

hi Chris.Allen :

Thank you..

In my case is ASP.NET, So what is directory need have dll, pdb and cs files ??

I have try to copy dll,pdb and cs files to Bin folder, but have exception show to me.
Error is tell me same assemble already to load, the problem is come from load dll and pdb on Application_Start event I think.

Please help me.. :)
yutien
 
Posts: 2
Joined: Thu Jan 28, 2010 11:33 am

Postby Chris.Allen » Tue Feb 09, 2010 9:51 pm

Please read this article as it is the most general solution to this problem:

http://www.red-gate.com/supportcenter/C ... wledgebase\\ANTS_Profiler\\KB200708000133.htm
Chris.Allen
 
Posts: 594
Joined: Thu Mar 12, 2009 4:17 pm


Return to ANTS Performance Profiler 5

Who is online

Users browsing this forum: No registered users and 0 guests