Source code not matching

I am using VS 2005 and I am trying to profile the debug version. I have compiled the debug version and copied the form1.vb source code into the ...\bin\debug directory. I start the profiler and run through my application. I then close the form. I get a message that the source code can not be found and it looks like a GUID. I browse to the source code and when it is displayed the times displayed are in code that was not executed.

Comments

  • Hi,

    The {GUID}.vb file is actually a compiler-generated temporary file created by the VB.NET 2005 compiler. I think I'm right in saying that it contains the form designer initialization code, though I'm not entirely sure there. Unfortunately it is deleted at the end of the compilation process, so is no longer available when you profiler your application in ANTS Profiler.

    The rest of your source files should be displayed as normal.

    Hope that helps,
    Robert
    Robert Chipperfield
    Red Gate
Sign In or Register to comment.