dotPeek 2019.2 Help

Decompiler

Tools | Options | Decompiler

In this page of dotPeek options, you can define the way dotPeek displays and navigates code from the explored assemblies. For more information, see Navigate Compiled Code.

Item

Description

Use sources from symbol files when available

Select this checkbox to use debug information (PDB files) to find appropriate source files and use them to display and navigate the code.

If this checkbox is selected and the source files are available via the debug information, dotPeek displays and navigates to the original source code (for portable PDBs, embedded sources can be used).


If this checkbox is cleared or if source files are not available, dotPeek decompiles the code.

Allow downloading from remote locations

Select this checkbox to enable downloading sources from Symbol Server or other remote locations. If symbol files are available both locally and remotely, dotPeek will display local symbol files.

Advanced symbols options

Opens the Advanced symbols options dialog to create or edit folder substitution rules.
If an external library was compiled with another computer, then paths inside PDB files may be relative to that computer, and therefore these paths could not be resolved automatically.
To fix this, you need to add folder substitutions rules for each path. Each folder substitution rule contains two paths:

  • Source Folder — a folder specified in the PDB files.

  • Target Folder — a folder with relevant source files on your computer or a corresponding URL of a remote server.

Show XML documentation in decompiled sources

Select this checkbox to display XML comments in the decompiled code. The comments are only available if the XML documentation file option was enabled to build the assembly. The XML documentation is normally stored in the [AssemblyName].xml file next to the assembly file.

Show compiler-generated code

Select this checkbox to see compiler-generated code in the decompiled files. This option is an alternative to using the Show compiler-generated code button on the toolbar. For more information, see View Compiler-Generated Code.

Show token values

Select this checkbox to display metadata token values in Assembly Explorer window and Code Viewer. For more information, see View Metadata Tokens.

Show IL code in comments

Select this checkbox to display comments with IL code corresponding to the decompiled code in the Code Viewer. For more information, see View Intermediate Language (IL).

Last modified: 18 November 2019