Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Tool:DnSpyEx

From ReverseEngineering.wiki
Tool
License GPL-3.0
Website https://github.com/dnSpyEx/dnSpy
On this wiki Facts · Code · Notes · Topics

dnSpyEx (GPL-3.0) is the community continuation of dnSpy: a .NET and Unity debugger and assembly editor that also decompiles, useful when a managed program must be debugged or patched.

Overview

The README calls it an unofficial continuation of dnSpy. Debugger: .NET Framework, .NET and Unity game assemblies without source, breakpoints, locals and watch windows, saving variables such as decrypted byte arrays to disk, debugging assemblies that decrypt themselves at runtime using the in-memory image, and bypasses for common debugger-detection techniques. Editor: edit methods and classes in C# or Visual Basic, an IL editor, and low-level metadata table editing. Debugging Unity needs the separate dnSpy-Unity-mono repository.

Failure modes

The README lists none. Unverified: dynamic methods cannot be debugged (the README says only that dynamic modules can, due to CLR limits on dynamic methods); it is Windows-only.

Related

Technique:Choosing a decompiler, Tool:ILSpy.

Sources

Code & repositories

  • https://github.com/dnSpyEx/dnSpy @ ae4df33be41a3846e768b1b8f4690b3c5e166bc6 · license: GPL-3.0-only (declared by the contributor; GitHub's detector did not recognize LICENSE.txt)
    dnSpyEx .NET debugger and editor
    Tested on: source read, not run: not run; README read · checked 2026-10-18