Skip to content

View disassembly from C# methods generated by JIT, ReadyToRun, and NativeAOT compilers

License

Notifications You must be signed in to change notification settings

JetBrains/dotnet-disassembler-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.NET Disassembler for Rider

View disassembly from C# methods generated by JIT, ReadyToRun, and NativeAOT compilers.

.NET Disassembler Tool Window

Features

  • View disassembly for any C# method, property, constructor, or type
  • Multiple codegen modes: standard JIT, ReadyToRun (crossgen2), and NativeAOT (ilc)
  • Snapshot and diff view to compare assembly output after code changes
  • Configurable compiler settings: tiered compilation, PGO, and diff-friendly output
  • Syntax highlighting for x86/x64 and ARM64 assembly

Installation

From JetBrains Marketplace:

  1. Open Rider
  2. Go to SettingsPluginsMarketplace
  3. Search for .NET Disassembler
  4. Click Install and restart Rider

Usage

  1. Open any C# file in a .NET 6.0+ project
  2. Place the caret on a method, property, constructor, or type declaration you want to analyze
  3. Open the disassembly viewer:
    • Via menu: ViewTool WindowsASM Viewer, or
    • Via context action: right-click on the method → Show in ASM Viewer
  4. The disassembly will be automatically compiled and displayed
  5. Use the toolbar to configure compiler options and see how they affect the generated code
  6. Create a snapshot to save the current assembly output, then modify your C# code to see the diff

Requirements

  • .NET 6.0+ project
  • Supported platforms: Windows, macOS, Linux

Credits

This plugin is based on the Disasmo project by Egor Bogatov.

Feedback

Please report issues and feature requests on GitHub Issues.

License

MIT License

About

View disassembly from C# methods generated by JIT, ReadyToRun, and NativeAOT compilers

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •