Profiling assembly and application together

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

Thanks for your post. ANTS Profiler will profile any code run in the context of an application. If you profile a managed-code assembly that calls managed code from a referenced assembly, that code will also be profiled.

If you set ANTS Profiler to profile the application that calls the dll, the code in the dll will also be profiled.

Please let us know if you have any more questions.

Comments

  • Brian DonahueBrian Donahue Posts: 6,590 New member
    Hi Ryan,

    The trick to getting line level timing information is to have a debug build of the assembly so that a .pdb file is produced. The .pdb should be saved alongside the assembly, that way ANTS Profiler can find and open it so that it can locate the source code.
This discussion has been closed.