DnSpy: Getting Started

 You can setup the website in your local environment and use the DnSpy tool to debug to any library without its source code. 

 
Please refer the belows steps to know how to debug with DnSpy:
1- Download the dnSpy (https://github.com/dnSpy/dnSpy/releases/tag/v6.1.8) to your computer and Run the dnSpy.exe as Administrator
2- Select Debug > Attach to Process, choose w3wp.exe or iisexpress.exe


3- Select Debug > Windows > Modules tab window, search the customer DLL filename and copy the file path. This path is the actual the assembly runs in IIS website. Depend on your case, choose the *.dll file


4- Open this Dll file path in dnSpy, go to the class / method we want to debug ()
5- Set the Breakpoint and start Debug like in the Visual Studio



Comments

Popular posts from this blog

Optimizely Content Graph: minimal setup for testing

Episerver ServiceAPI: Example of how-to properly call the media upload

SameSite Cookie login troubleshooting