dotPeek 2021.1 Help


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.

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.

Enable private Source Link support

If this checkbox is selected, you will be able to navigate to the external sources that require connection to a private source server, for example Azure or GitHub Enterprise.

In some cases, dotPeek will retrieve your connection credentials automatically, for example from Git Credential Manager. If this is not possible, it will ask for the authentication details when you first navigate using specific server.

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 sourcesSelect 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 codeSelect 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 valuesSelect 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 commentsSelect 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).

Code style and formatting

Use options in this section to specify code styles that will be applied to the decompiled code.

Last modified: 08 March 2021