.NET Reflector logo

.NET Reflector® Pro

Getting started – walk-through

There are two workflows you can use when using .NET Reflector Pro.

Workflow 1: Stepping from your project into referenced assemblies

Step 1: Open your project in Visual Studio (Fibonacci Calculator)
Run .NET Reflector, which will automatically install the Visual Studio add-in.

Open your project in Visual Studio


Step 2: Choose assemblies to debug
Go to the .NET Reflector menu and click on the Choose Assemblies to Debug option.

Choose assemblies to debug

From the .NET Reflector dialog below, pick the assemblies to debug. .NET Reflector will decompile the assemblies so you can use the step-through debugging in Visual Studio.

Pick assemblies to debug

 

Step 3:Step-through debug into third-party code

Stage 1 – Set a breakpoint in the code. This is the entry point into the third-party code.

Set a breakpoint in the code

Stage 2 – Run the application (e.g. calculate a value in the Fibonacci Calculator). When you hit the breakpoint (as shown in the capture), press F11.

Run the application

Stage 3 – You are now on the first line of the code that we stepped into.

Stepping into your code

 

Workflow 2: Step-through debugging a .NET executable

Step 1: Open and debug your executable in Visual Studio

Debug an executable

Open your executable

In Visual Studio we can see that the executable is running (the Fibonacci Calculator is also active).

The program is now running

 

Step 2: Choose assemblies to debug

Choose assemblies to debug

 

Pick assemblies to decompile

Step 3: Explore decompiled assemblies

Explore decompiled assemblies

 

Step 4: Explore decompiled solution

Go to Decompiled Definition

 

Step 5: Set breakpoints and step-through debug

Stage 1 – The following is shown after clicking Go to Decompiled Definition.

Source code

Stage 2 – You can set a new breakpoint (F9).

Set a breakpoint

Stage 3 – A value is calculated using the Fibonacci Calculator. Eventually the application hits the breakpoint.

We hit the breakpoint

  • Download .NET Reflector
  • Purchase .NET Reflector Pro

 

Feedback Form