Giter Club home page Giter Club logo

il-visualizer's Introduction

IL Visualiser

Originally developed by Haibo Luo in 2005 and posted in a series of blog posts (part one, part two).

Converted to a Git repository and upgraded to VS2015 by Drew Noakes. Conversion to VS2017 by @dadhi.

Usage

When paused in the debugger, select an instance of a subclass of MethodBase (such as DynamicMethod, MethodBuilder, ConstructorBuilder, ...) and launch a visualiser:

There are two ways to use this visualiser.

IL Visualizer (Modal)

Selecting "IL Visualizer" pops up a window showing the IL code.

This window is modal and debugging may only continue once the window is closed.

Out of Process (Non-modal)

Sometimes you don't want to close the window before continuing your debugging session. For such cases, you can run IL Monitor as a separate process, then select "Send to IL Monitor":

IL Monitor is a standalone MDI application that allows displaying mutliple IL views.

Installation

(Notes apply to VS 2015 and 2017, but are similar for earlier versions)

  1. Download the latest release for your version of Visual Studio, or build from source

  2. Copy ILDebugging.Decoder.dll and ILDebugging.Visualizer.dll to one of:

    • %USERPROFILE%\Documents\Visual Studio 2015\Visualizers
    • %USERPROFILE%\Documents\Visual Studio 2017\Visualizers
    • VisualStudioInstallPath_\Common7\Packages\Debugger\Visualizers
  3. Restart the debugging session (you don't have to restart Visual Studio)

Note: If you get error "Operation not supported" when invoking the visualizer, restart Visual Studio and try again.

If you wish to use Send to IL Monitor, you run ILDebugging.Monitor.exe before attempting to use it from the debugger.

Earlier Visual Studio Versions

You can target earlier versions of Visual Studio by updating the assembly references for Microsoft.VisualStudio.DebuggerVisualizers.dll to the relevant version.

License

THE CODE IS PROVIDED "AS IS", WITH NO WARRANTIES INTENDED OR IMPLIED. USE AT YOUR OWN RISK!

il-visualizer's People

Contributors

dadhi avatar drewnoakes avatar tomasdeml avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

il-visualizer's Issues

Any chance to make this tool work in vs 2022?

I've tried to port this tool by change microsoft.visualstudio.debuggervisualizers to version 17.

Build is a succ.
However when using the builded bin, non il was shown in the visualizer, just empty. Maybe 2022 broke something?

Best Regards

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.