Profiling Prism Modules

I'm using .NET Framework 3.5, WPF, and Prism (formerly Composite Application Guidance).

I'm seeing instrumentation of all assemblies my shell.exe has direct references to, but Prism uses dependency injection, and so many modules are loaded dynamically at runtime.

No information from these assemblies is being captured. I've copied them from the Modules subdirectory to the same directory as my exe in hope that probing by the assembly loader would bump into them there, but that didn't work.

Is there some way I can get the Profiler to calibrate these late-bound, dynamically loaded assemblies as well?

thanks,
Dominic

Comments

  • Hi Dominic,

    The profiler will pick up all IL code executed by the runtime, regardless of whether or not it's late-bound or explicitly referenced. Is the problem that you do not get the source view? If so, it's probably because you do not have the debugging information. Third-party vendors almost never ship their assemblies with the PDBs. If you show all methods and don't hide insignificant methods and show all threads then you should see results for the third-party code in the all methods grid and/or tree view.
  • Brian-

    Thanks for your reply. I have the source code, but the PDBs were not present in the Modules directory.

    Works like a charm. Great tool. Thank you.

    --dom
Sign In or Register to comment.