可前往dnSpy官网下载下载(内置包含.NET Framework 4.7.1,若运行提示需要安装,可解压找到.NET Framework 4.7.1-x86-x64-AllOS-ENU.exe安装)。

具体操作步骤如下所示:

  1. 添加系统环境变量,COMPLUS_ZapDisable = 1
  2. 如果需要调试IIS进程,可进入C:\Windows\System32\inetsrv目录执行appcmd list wp 查看对应的应用程序池进程ID
  3. 打开dnspy,调试–>附加到进程–>选择相应的进程ID–>附加
  4. 调试–>窗口–>模块–>搜索要调试的程序集–>双击
  5. 在程序集资源管理器找到要调试的类打开,打断点即可
  6. 右键要修改的类文件–>编辑类/方法–>修改类–>编译
  7. 文件–>保存模块–>选择要保存的路径–>保存
  8. 将保存的重新编译的程序集替换到目标路径即可
  9. 执行iisreset(若为IIS应用)
1596511975-b97cf591fd86903
912sy.com download resources are from the network, only for learning and reference use, the copyright belongs to the original author, do not use for commercial purposes, please remove yourself within 24 hours after downloading.
If the content published on this site inadvertently violates your rights and interests, please contact us and the site will be deleted within one business day.If you encounter any problems please contact customer service QQ:2385367137
912sy " NET decompile debugging tool: dnSpy to understand