Integrated decompilation is only available in ANTS Performance Profiler Professional edition. You cannot decompile methods if you're profiling a .NET 1.1 application. |
Integrated decompilation is powered by the .NET Reflector engine, but you don't need .NET Reflector installed to use integrated decompilation.
You can decompile methods without source directly from the call tree. Decompiling a method generates line-level code from any .NET assembly. This allows you to identify the causes of performance problems in previously inaccessible code, for example, third-party components or legacy assemblies called by your application.
Without a PDB file, line-level timings are unavailable and only method-level timings are shown. |
For more information on navigating your decompiled source, see Working with source code.
Methods will also display without source if you have the assembly's source code but ANTS Performance Profiler cannot automatically locate it. To manually specify a path to the source code for an assembly, click
Code from Silverlight browser applications embedded using Javascript cannot be decompiled. |
Silverlight browser applications embedded using HTML can be decompiled if ANTS Performance Profiler can locate the associated XAP file. For information on configuring your Silverlight application so that ANTS Performance Profiler can find the XAP file, see How to: Add Silverlight to a Web Page by using HTML (MSDN).
If ANTS Performance Profiler cannot find the XAP file automatically, the message "Could not identify a file path" will be displayed.
To manually specify the path to the XAP file, on the settings screen:
Code from Silverlight out-of-browser applications can also be decompiled if the profiled application is configured to work as an out-of-browser application.
Some obfuscated code cannot be decompiled, or can be decompiled only partially. Partially obfuscated code, when decompiled, may display mangled method names and absent lines of code.
If an obfuscated method cannot be decompiled, the method's contents are replaced with the comment "This code is obfuscated and can not be translated" in the source code pane.
When saving profiling results, any decompiled code generated during the profiling session is not saved. To view source for methods from third-party assemblies on opening a saved session, follow the decompilation steps above.