Profiler picking up the correct source files

Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
Hi Danny,

ANTS Profiler uses a component to locate the source code, so we'll have
to look into why it's getting your source from the wrong place. In the
meantime, you can change the source files by using the Locate Source Code
function from the View menu.

If you click the Source Code tab from the Top of the results page, then
click the source code file, you can change that file to display the correct
one instead.

Regards,

Brian Donahue
Red Gate Technical Support

"Danny Carwile" <dcarwile@saklogistics.com> wrote in message
news:wSQOvOOaDHA.1588@server53...
> Sometimes when I'm profiling my .NET app, instead of seeing the
development
> source files I see their equivalents that have been put in the "Temporary
> ASP.NET Files" folder. Sometimes everything works fine.
> I have made sure that I'm always compiling in debug mode.
> What am I doing wrong?
> Thanks!
>
>

Comments

  • Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    The way I understand it, ASP .NET will compile a new dll assembly for a website if the current one is out of date. When it does this, it will write the dll to the Temporary ASP .NET Files folder, and when that's done, the pdb will have to exist there as well. It will probably work in any case if you set the web.Config file of the web application to enable debugging.
    &lt;compilation 
             defaultLanguage="c#"
             debug="true"
        /&gt;
    
This discussion has been closed.