In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article will explain in detail how to use the .NET decompiler and debug artifact dnSpy. The content of the article is of high quality, so the editor will share it with you for reference. I hope you will have some understanding of the relevant knowledge after reading this article.
(the .NET Framework4.7.1 is included in the built-in. If you are prompted to install it, you can extract it to find the .NET Framework 4.7.1-x86-x64-AllOS-ENU.exe installation.)
The specific steps are as follows:
Add system environment variable, COMPLUS_ZapDisable = 1
If you need to debug the IIS process, go to the C:\ Windows\ System32\ inetsrv directory to execute appcmd list wp to view the corresponding application pool process ID
Open dnspy, debug-- > attach to a process-- > Select the appropriate process ID-- > attach (multiple processes can be attached at the same time)
Debug-- > window-- > Module-- > search for assemblies to debug-- > double click
Find the class you want to debug in the assembly explorer. Open it and break the point.
Right-click the class file to be modified-- > Edit class / method-- > modify class-- > compile
File-- > Save module-- > Select the path to save-- > Save
Just replace the saved recompiled assembly to the target path
Execute iisreset (in the case of IIS applications)
Figure 1: configuring environment variables
Figure 2: get the process ID corresponding to the IIS site
Figure 3: how to attach a process and find the assembly to debug
Figure 4: how to modify the code to recompile and export the assembly
Net decompiler debugging artifact dnSpy on how to share here, I hope that the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.