query regarding Profiling the specific methods in the .dll

I have taken one project in .net (windows application)
I have added one .dll file to the solution.
and I am using the methods of the class which is existed in .dll file

I would like to profile the particular method which is existed in .dll

What is the solution?[/b]

Comments

  • Brian DonahueBrian Donahue Posts: 6,590 New member
    Hello,

    Provided the dll is managed code, you should use the 'profile all methods' setting unless you have the source code, debug build, and PDB for the third-party dll. Otherwise you won't see the results for any methods in that dll.
  • Hi there,

    as Brian points out, if you choose 'All methods with source code' you will profile both your exe and the dll that you have added if they are debug builds.

    If you just want to profile methods in the dll you can set up a custom filter on the last page of the profiling wizard. Here you can choose to include or exclude certain namespaces/classes

    Regards,

    Tom Harris

    Red Gate Software
Sign In or Register to comment.