Sunday, June 06, 2004

Reflector.Graph is a Reflector 4.0.5.0 Add-in. (it is my new toy project). Actually, it contains 3 graph-based package for Reflector (more will come )

Don't forget to drop a line to tell me about the tool.

Go to Reflector.Graph v1.1

Hint: Click and move to zoom in/out of the graphs
Hint2: Make sure you download Reflector 4.0.5.0
Hint3: Load Reflector.Graph.dll assembly in the Addin dialog.

posted on Monday, June 07, 2004 12:08:00 AM UTC  #    Comments [21]
Tracked by:
"virginpussy" (online) [Trackback]
Monday, June 06, 2005 5:59:26 PM UTC
Nice. I like the assembly graph.
Andre
Monday, June 06, 2005 5:59:26 PM UTC
Cool add-in, thanks a bunch for this! I have some suggestions if you're planning on extending this...
<br>
<br>The IL Grapher looks nice but it would be nice if it could use a more natural (e.g. non-IL) code view. Perhaps you can use the built-in IL to (Programming Language Of Choice) conversion to show C# for example.
<br>
<br>The assembly graph is very useful but it would be nice if you could manually select the assemblies to graph (or remove some from the graph). I'm pretty aware of the fact that my assemblies reference mscorlib and System.dll so I don't need to keep seeing that ;-)
<br>
<br>Method Ranking is nice but a little buggy. I tried to submit the following error from within Reflector but it failed to send so I'll just post it here:
<br>
<br>**** Bug Report ****
<br>
<br>Running Method Ranking (from the Reflector.Graph add-in) on some assemblies (like System.Xml but also others, like some of my own assemblies) throws the following exception:
<br>
<br>Method not found: Reflector.CodeModel.IExpressionCollection Reflector.CodeModel.IArrayCreateExpression.get_Sizes().
<br>
<br>System.MissingMethodException
<br>
<br> at Reflector.Graph.Visitor.VisitArrayCreateExpression(IArrayCreateExpression expression)
<br> at Reflector.Graph.Visitor.VisitExpression(IExpression expression)
<br> at Reflector.Graph.Visitor.VisitAssignStatement(IAssignStatement statement)
<br> at Reflector.Graph.Visitor.VisitStatement(IStatement statement)
<br> at Reflector.Graph.Visitor.VisitStatementCollection(IStatementCollection statements)
<br> at Reflector.Graph.Visitor.VisitBlockStatement(IBlockStatement statement)
<br> at Reflector.Graph.Graphs.MethodRankPopulator.createLinksFromBody(IMethodDeclaration method)
<br> at Reflector.Graph.Graphs.MethodRankPopulator.createLinksFromModule(IModule module)
<br> at Reflector.Graph.Graphs.MethodRankPopulator.CreateFromAssembly(IAssembly assembly)
<br> at Reflector.Graph.Controls.MethodRankControl.Translate()
<br> at Reflector.Graph.Controls.MethodRankControl.OnParentChanged(EventArgs e)
<br> at System.Windows.Forms.Control.AssignParent(Control value)
<br> at System.Windows.Forms.ControlCollection.Add(Control value)
<br> at _90._1(IWindow )
<br> at _80._1(String )
<br> at _3.set_Visible(Boolean value)
<br> at Reflector.Graph.GraphPackage.MethodRiskRank_Click(Object sender, EventArgs e)
<br> at _30.OnClick(EventArgs e)
<br> at _30._1(EventArgs )
<br> at _1.OnClick(EventArgs e)
<br> at System.Windows.Forms.MenuItemData.Execute()
<br> at System.Windows.Forms.Command.Invoke()
<br> at System.Windows.Forms.Control.WmCommand(Message&amp; m)
<br> at System.Windows.Forms.Control.WndProc(Message&amp; m)
<br> at System.Windows.Forms.TreeView.WndProc(Message&amp; m)
<br> at _6.WndProc(Message&amp; message)
<br> at System.Windows.Forms.ControlNativeWindow.OnMessage(Message&amp; m)
<br> at System.Windows.Forms.ControlNativeWindow.WndProc(Message&amp; m)
<br> at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
<br>
<br>
<br>.NET Reflector 4.0.4.0
<br>.NET Framework 1.1.4322.573
<br>Microsoft Windows NT 5.1.2600.0
<br>
<br>
<br>[AddInManager]
<br>&quot;D:\Tools\Reflector\MutantDesign.ManagedAddIns.dll&quot;
<br>&quot;D:\Tools\Reflector\Reflector.ClassView.dll&quot;
<br>&quot;D:\Tools\Reflector\Reflector.CodeModelView.dll&quot;
<br>&quot;D:\Tools\Reflector\Reflector.DelphiLanguage.dll&quot;
<br>&quot;D:\Tools\Reflector\Reflector.SourceView.dll&quot;
<br>&quot;D:\Tools\Reflector\Reflector.VisualStudio.exe&quot;
<br>&quot;D:\Tools\Reflector\Reflector.FileDisassembler.dll&quot;
<br>&quot;D:\Tools\Reflector\Reflector.Graph.dll&quot;
<br>
<br>[AssemblyCache]
<br>&quot;%SystemRoot%\Microsoft.net&quot;
<br>&quot;%ProgramFiles%\Microsoft.net&quot;
<br>
<br>[AssemblyLoader]
<br>&quot;%SystemRoot%\Microsoft.net\Framework\v1.1.4322\mscorlib.dll&quot;
<br>&quot;%SystemRoot%\Microsoft.net\Framework\v1.1.4322\System.dll&quot;
<br>&quot;%SystemRoot%\Microsoft.net\Framework\v1.1.4322\System.Data.dll&quot;
<br>&quot;%SystemRoot%\Microsoft.net\Framework\v1.1.4322\System.Drawing.dll&quot;
<br>&quot;%SystemRoot%\Microsoft.net\Framework\v1.1.4322\System.Web.dll&quot;
<br>&quot;%SystemRoot%\Microsoft.net\Framework\v1.1.4322\System.Windows.Forms.dll&quot;
<br>&quot;%SystemRoot%\Microsoft.net\Framework\v1.1.4322\System.Xml.dll&quot;
<br>
<br>[LanguageManager]
<br>ActiveLanguage=&quot;C#&quot;
<br>
<br>[WindowManager]
<br>X=&quot;66&quot;
<br>Y=&quot;87&quot;
<br>Width=&quot;480&quot;
<br>Height=&quot;600&quot;
<br>Pane=&quot;480&quot;
<br>Maximized=&quot;true&quot;
<br>
<br>**** End Bug Report ****
<br>
<br>Anyway, like I said: great stuff, thanks a lot for this!
<br>
<br>Jelle
Jelle Druyts
Monday, June 06, 2005 5:59:27 PM UTC
Is it common that I don't see anything when I have registered these add-ins with Reflector 4.0.5.0?
<br>
<br>None of the menu-options show up.
<br>
<br>--jeroen
Jeroen Pluimers
Monday, June 06, 2005 5:59:28 PM UTC
No, it not common :). Have you added some kind of Reflector.exe.config files with special settings ?
<br>
<br>ps: Lutz is 'tha' Reflector master, he may have an answer for this.
Jonathan de Halleux
Monday, June 06, 2005 5:59:29 PM UTC
Hi Jelle,
<br>
<br>About more natural IL graph: it's under way and will be called StatementGraph,
<br>
<br>About assembly graph:
<br>&gt;if you could manually select the assemblies to graph ... Reflector should add the possibility to check/uncheck assemblies.
<br>
<br>About methodrank:
<br>Test the add-in with Reflector 4.0.5.0 (see your error message &quot;.NET Reflector 4.0.4.0&quot;) :)
<br>
<br>
Jonathan de Halleux
Monday, June 06, 2005 5:59:29 PM UTC
I wasn't sure which of the DLL's I should add to get the Graph functionality, so I added all.
<br>
<br>This is my refelector.cfg file; it looks quite normal to me.
<br>
<br>
<br>[AddInManager]
<br>&quot;E:\Program Files\Reflector\Reflector.VisualStudio.exe&quot;
<br>&quot;E:\Program Files\Reflector\Reflector.ClassView.dll&quot;
<br>&quot;E:\Program Files\Reflector\Reflector.CodeModelView.dll&quot;
<br>&quot;E:\Program Files\Reflector\Reflector.DelphiLanguage.dll&quot;
<br>&quot;E:\Program Files\Reflector\Reflector.SourceView.dll&quot;
<br>&quot;E:\Program Files\Reflector\QuickGraph.dll&quot;
<br>&quot;E:\Program Files\Reflector\MutantDesign.ManagedAddIns.dll&quot;
<br>&quot;E:\Program Files\Reflector\NGraphviz.dll&quot;
<br>&quot;E:\Program Files\Reflector\NGraphviz.Helpers.dll&quot;
<br>&quot;E:\Program Files\Reflector\QuickGraph.Algorithms.dll&quot;
<br>&quot;E:\Program Files\Reflector\QuickGraph.Algorithms.Graphviz.dll&quot;
<br>
<br>[AssemblyBrowser]
<br>ShowInheritedMembers=&quot;true&quot;
<br>
<br>[AssemblyCache]
<br>&quot;%SystemRoot%\Microsoft.net&quot;
<br>&quot;%ProgramFiles%\Microsoft.net&quot;
<br>
<br>[AssemblyComparer]
<br>SideBySideVersioning=&quot;true&quot;
<br>
<br>[AssemblyLoader]
<br>&quot;%SystemRoot%\Microsoft.net\Framework\v1.1.4322\mscorlib.dll&quot;
<br>&quot;%SystemRoot%\Microsoft.net\Framework\v1.1.4322\System.dll&quot;
<br>&quot;%SystemRoot%\Microsoft.net\Framework\v1.1.4322\System.Data.dll&quot;
<br>&quot;%SystemRoot%\Microsoft.net\Framework\v1.1.4322\System.Drawing.dll&quot;
<br>&quot;%SystemRoot%\Microsoft.net\Framework\v1.1.4322\System.Web.dll&quot;
<br>&quot;%SystemRoot%\Microsoft.net\Framework\v1.1.4322\System.Windows.Forms.dll&quot;
<br>
<br>[Formatter]
<br>ShowCustomAttributes=&quot;true&quot;
<br>
<br>[LanguageManager]
<br>ActiveLanguage=&quot;C#&quot;
<br>
<br>[WindowManager]
<br>X=&quot;110&quot;
<br>Y=&quot;110&quot;
<br>Width=&quot;676&quot;
<br>Height=&quot;795&quot;
<br>Pane=&quot;895&quot;
Jeroen Pluimers
Monday, June 06, 2005 5:59:30 PM UTC
You should add Reflector.Graph.dll only. No others.
Jonathan de Halleux
Monday, June 06, 2005 5:59:30 PM UTC
Jonathan -
<br>
<br>The StatementGraph sounds *really* awesome. Itching -- gotta scratch ;-)
<br>
<br>Regarding the Method Ranking: I just upgraded to Reflector 4.0.5 (damn it's moving fast!) and the method ranking is already performing much better, my own assemblies are coming up great. It seems to have a caching problem though, I have to close down Reflector to select another assembly or I get the old results back again. And I still got an error on System.Xml (this time I was able to submit the bug, but I'll just reproduce it here for your convenience (I hope so anyway)):
<br>
<br>**** Bug Report ****
<br>
<br>Requested method ranking for System.Xml.
<br>
<br>Operation is not valid due to the current state of the object.
<br>
<br>System.InvalidOperationException
<br>
<br> at _76._3(Int32 )
<br> at _76._1(Int32 )
<br> at _76._1(Int32 , Int32 )
<br> at _76.VisitMethodDeclaration(IMethodDeclaration methodDeclaration)
<br> at _73.VisitMethodDeclaration(IMethodDeclaration methodDeclaration)
<br> at Reflector.Graph.Graphs.MethodRankPopulator.createLinksFromBody(IMethodDeclaration method)
<br> at Reflector.Graph.Graphs.MethodRankPopulator.createLinksFromModule(IModule module)
<br> at Reflector.Graph.Graphs.MethodRankPopulator.CreateFromAssembly(IAssembly assembly)
<br> at Reflector.Graph.Controls.MethodRankControl.Translate()
<br> at Reflector.Graph.Controls.MethodRankControl.OnParentChanged(EventArgs e)
<br> at System.Windows.Forms.Control.AssignParent(Control value)
<br> at System.Windows.Forms.ControlCollection.Add(Control value)
<br> at _90._1(IWindow )
<br> at _80._1(String )
<br> at _3.set_Visible(Boolean value)
<br> at Reflector.Graph.GraphPackage.MethodRiskRank_Click(Object sender, EventArgs e)
<br> at _30.OnClick(EventArgs e)
<br> at _30._1(EventArgs )
<br> at _1.OnClick(EventArgs e)
<br> at System.Windows.Forms.MenuItemData.Execute()
<br> at System.Windows.Forms.Command.Invoke()
<br> at System.Windows.Forms.Control.WmCommand(Message&amp; m)
<br> at System.Windows.Forms.Control.WndProc(Message&amp; m)
<br> at System.Windows.Forms.TreeView.WndProc(Message&amp; m)
<br> at _6.WndProc(Message&amp; message)
<br> at System.Windows.Forms.ControlNativeWindow.OnMessage(Message&amp; m)
<br> at System.Windows.Forms.ControlNativeWindow.WndProc(Message&amp; m)
<br> at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
<br>
<br>
<br>.NET Reflector 4.0.5.0
<br>.NET Framework 1.1.4322.573
<br>Microsoft Windows NT 5.1.2600.0
<br>
<br>
<br>[AddInManager]
<br>&quot;D:\Tools\Reflector\MutantDesign.ManagedAddIns.dll&quot;
<br>&quot;D:\Tools\Reflector\Reflector.ClassView.dll&quot;
<br>&quot;D:\Tools\Reflector\Reflector.CodeModelView.dll&quot;
<br>&quot;D:\Tools\Reflector\Reflector.DelphiLanguage.dll&quot;
<br>&quot;D:\Tools\Reflector\Reflector.SourceView.dll&quot;
<br>&quot;D:\Tools\Reflector\Reflector.VisualStudio.exe&quot;
<br>&quot;D:\Tools\Reflector\Reflector.FileDisassembler.dll&quot;
<br>&quot;D:\Tools\Reflector\Reflector.Graph.dll&quot;
<br>
<br>[AssemblyCache]
<br>&quot;%SystemRoot%\Microsoft.net&quot;
<br>&quot;%ProgramFiles%\Microsoft.net&quot;
<br>
<br>[AssemblyLoader]
<br>&quot;%SystemRoot%\Microsoft.net\Framework\v1.1.4322\mscorlib.dll&quot;
<br>&quot;%SystemRoot%\Microsoft.net\Framework\v1.1.4322\System.dll&quot;
<br>&quot;%SystemRoot%\Microsoft.net\Framework\v1.1.4322\System.Data.dll&quot;
<br>&quot;%SystemRoot%\Microsoft.net\Framework\v1.1.4322\System.Drawing.dll&quot;
<br>&quot;%SystemRoot%\Microsoft.net\Framework\v1.1.4322\System.Web.dll&quot;
<br>&quot;%SystemRoot%\Microsoft.net\Framework\v1.1.4322\System.Windows.Forms.dll&quot;
<br>&quot;%SystemRoot%\Microsoft.net\Framework\v1.1.4322\System.Xml.dll&quot;
<br>&quot;D:\Tools\Emc\Forks.Pop3Client.dll&quot;
<br>&quot;D:\Tools\Emc\JelleDruyts.Emc.Plugins.dll&quot;
<br>&quot;D:\Tools\Emc\JelleDruyts.Emc.Shared.dll&quot;
<br>&quot;D:\Tools\Emc\JelleDruyts.Tools.dll&quot;
<br>&quot;D:\Tools\Emc\TaskbarNotifier.dll&quot;
<br>&quot;D:\Tools\Emc\Emc.exe&quot;
<br>
<br>[LanguageManager]
<br>ActiveLanguage=&quot;C#&quot;
<br>
<br>[WindowManager]
<br>X=&quot;66&quot;
<br>Y=&quot;87&quot;
<br>Width=&quot;480&quot;
<br>Height=&quot;600&quot;
<br>Pane=&quot;480&quot;
<br>Maximized=&quot;true&quot;
<br>
<br>**** End Bug Report ****
Jelle Druyts
Monday, June 06, 2005 5:59:31 PM UTC
I've got the same bug too. This bug is none of my resort (reflector bug) :):):)
<br>
<br>I'm working on the statement graph. It will arrive soon :)
Jonathan de Halleux
Monday, June 06, 2005 5:59:31 PM UTC
Now I just added the Reflector.Graph.Dll (and removed the others) and the menu options are visible.
<br>
<br>But I do get two bugs:
<br>
<br>- the IL graph of mscoree.dll\System.Object.GetType is blank (even though the IL disassembly looks fine)
<br>well actually, it is a slightly read square on a windows-gray background.
<br>
<br>- cannot perform a Assembly Graph on mscoree.dll (long error message, see below).
<br>
<br>- cannot perform method ranking on mscoree.dll (long error message, see below too).
<br>
<br>&lt; Please describe what might have caused this error. &gt;
<br>
<br>The process cannot access the file &quot;./753338b0-f144-4d82-bb12-61b1b894e56c.dot&quot; because it is being used by another process.
<br>
<br>System.IO.IOException
<br>
<br> at System.IO.__Error.WinIOError(Int32 errorCode, String str)
<br> at System.IO.File.Delete(String path)
<br> at NGraphviz.Helpers.Dot.Run(GraphvizImageType imageType, String dotCode, String outputFileName)
<br> at <a title="QuickGraph, 100% C# directed graph library" href="http://mbunit.tigris.org" target="_blank">QuickGraph</a>.Algorithms.Graphviz.GraphvizAlgorithm.Write(String outputFileName)
<br> at Reflector.Graph.Controls.AssemblyGraphControl.Translate()
<br> at Reflector.Graph.Controls.AssemblyGraphControl.OnParentChanged(EventArgs e)
<br> at System.Windows.Forms.Control.AssignParent(Control value)
<br> at System.Windows.Forms.ControlCollection.Add(Control value)
<br> at _90._1(IWindow )
<br> at _80._1(String )
<br> at _3.set_Visible(Boolean value)
<br> at Reflector.Graph.GraphPackage.AssemblyGraph_Click(Object sender, EventArgs e)
<br> at _30.OnClick(EventArgs e)
<br> at _30._1(EventArgs )
<br> at _1.OnClick(EventArgs e)
<br> at System.Windows.Forms.MenuItemData.Execute()
<br> at System.Windows.Forms.Command.Invoke()
<br> at System.Windows.Forms.Control.WmCommand(Message&amp; m)
<br> at System.Windows.Forms.Control.WndProc(Message&amp; m)
<br> at _28.WndProc(Message&amp; message)
<br> at System.Windows.Forms.ControlNativeWindow.OnMessage(Message&amp; m)
<br> at System.Windows.Forms.ControlNativeWindow.WndProc(Message&amp; m)
<br> at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
<br>
<br>
<br>.NET Reflector 4.0.5.0
<br>.NET Framework 1.1.4322.573
<br>Microsoft Windows NT 5.1.2600.0
<br>
<br>
<br>[AddInManager]
<br>&quot;E:\Program Files\Reflector\Reflector.Graph.dll&quot;
<br>
<br>[AssemblyBrowser]
<br>ShowInheritedMembers=&quot;true&quot;
<br>
<br>[AssemblyCache]
<br>&quot;%SystemRoot%\Microsoft.net&quot;
<br>&quot;%ProgramFiles%\Microsoft.net&quot;
<br>
<br>[AssemblyComparer]
<br>SideBySideVersioning=&quot;true&quot;
<br>
<br>[AssemblyLoader]
<br>&quot;%SystemRoot%\Microsoft.net\Framework\v1.1.4322\mscorlib.dll&quot;
<br>&quot;%SystemRoot%\Microsoft.net\Framework\v1.1.4322\System.dll&quot;
<br>&quot;%SystemRoot%\Microsoft.net\Framework\v1.1.4322\System.Data.dll&quot;
<br>&quot;%SystemRoot%\Microsoft.net\Framework\v1.1.4322\System.Drawing.dll&quot;
<br>&quot;%SystemRoot%\Microsoft.net\Framework\v1.1.4322\System.Web.dll&quot;
<br>&quot;%SystemRoot%\Microsoft.net\Framework\v1.1.4322\System.Windows.Forms.dll&quot;
<br>
<br>[Formatter]
<br>ShowCustomAttributes=&quot;true&quot;
<br>
<br>[LanguageManager]
<br>ActiveLanguage=&quot;C#&quot;
<br>
<br>[WindowManager]
<br>X=&quot;110&quot;
<br>Y=&quot;110&quot;
<br>Width=&quot;676&quot;
<br>Height=&quot;795&quot;
<br>Pane=&quot;895&quot;
<br>
<br>&lt; Please describe what might have caused this error. &gt;
<br>
<br>Operation is not valid due to the current state of the object.
<br>
<br>System.InvalidOperationException
<br>
<br> at _76._3(Int32 )
<br> at _76._1(Int32 )
<br> at _76._1(Int32 , Int32 )
<br> at _76.VisitMethodDeclaration(IMethodDeclaration methodDeclaration)
<br> at _73.VisitMethodDeclaration(IMethodDeclaration methodDeclaration)
<br> at Reflector.Graph.Graphs.MethodRankPopulator.createLinksFromBody(IMethodDeclaration method)
<br> at Reflector.Graph.Graphs.MethodRankPopulator.createLinksFromModule(IModule module)
<br> at Reflector.Graph.Graphs.MethodRankPopulator.CreateFromAssembly(IAssembly assembly)
<br> at Reflector.Graph.Controls.MethodRankControl.Translate()
<br> at Reflector.Graph.Controls.MethodRankControl.OnParentChanged(EventArgs e)
<br> at System.Windows.Forms.Control.AssignParent(Control value)
<br> at System.Windows.Forms.ControlCollection.Add(Control value)
<br> at _90._1(IWindow )
<br> at _80._1(String )
<br> at _3.set_Visible(Boolean value)
<br> at Reflector.Graph.GraphPackage.MethodRiskRank_Click(Object sender, EventArgs e)
<br> at _30.OnClick(EventArgs e)
<br> at _30._1(EventArgs )
<br> at _1.OnClick(EventArgs e)
<br> at System.Windows.Forms.MenuItemData.Execute()
<br> at System.Windows.Forms.Command.Invoke()
<br> at System.Windows.Forms.Control.WmCommand(Message&amp; m)
<br> at System.Windows.Forms.Control.WndProc(Message&amp; m)
<br> at System.Windows.Forms.TreeView.WndProc(Message&amp; m)
<br> at _6.WndProc(Message&amp; message)
<br> at System.Windows.Forms.ControlNativeWindow.OnMessage(Message&amp; m)
<br> at System.Windows.Forms.ControlNativeWindow.WndProc(Message&amp; m)
<br> at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
<br>
<br>
<br>.NET Reflector 4.0.5.0
<br>.NET Framework 1.1.4322.573
<br>Microsoft Windows NT 5.1.2600.0
<br>
<br>
<br>[AddInManager]
<br>&quot;E:\Program Files\Reflector\Reflector.Graph.dll&quot;
<br>
<br>[AssemblyBrowser]
<br>ShowInheritedMembers=&quot;true&quot;
<br>
<br>[AssemblyCache]
<br>&quot;%SystemRoot%\Microsoft.net&quot;
<br>&quot;%ProgramFiles%\Microsoft.net&quot;
<br>
<br>[AssemblyComparer]
<br>SideBySideVersioning=&quot;true&quot;
<br>
<br>[AssemblyLoader]
<br>&quot;%SystemRoot%\Microsoft.net\Framework\v1.1.4322\mscorlib.dll&quot;
<br>&quot;%SystemRoot%\Microsoft.net\Framework\v1.1.4322\System.dll&quot;
<br>&quot;%SystemRoot%\Microsoft.net\Framework\v1.1.4322\System.Data.dll&quot;
<br>&quot;%SystemRoot%\Microsoft.net\Framework\v1.1.4322\System.Drawing.dll&quot;
<br>&quot;%SystemRoot%\Microsoft.net\Framework\v1.1.4322\System.Web.dll&quot;
<br>&quot;%SystemRoot%\Microsoft.net\Framework\v1.1.4322\System.Windows.Forms.dll&quot;
<br>
<br>[Formatter]
<br>ShowCustomAttributes=&quot;true&quot;
<br>
<br>[LanguageManager]
<br>ActiveLanguage=&quot;C#&quot;
<br>
<br>[WindowManager]
<br>X=&quot;147&quot;
<br>Y=&quot;136&quot;
<br>Width=&quot;433&quot;
<br>Height=&quot;795&quot;
<br>Pane=&quot;209&quot;
<br>
<br>
<br>--jeroen
<br>
<br>
Jeroen Pluimers
Monday, June 06, 2005 5:59:32 PM UTC
Hi Jereon:
<br>
<br>- I'll investigate Object.GetType.
<br>
<br>- I'll test AssemblyGraph with mscore.dll
<br>- there is a problem with reflector right now: all the graph add-ins fail on the .Net assemblies (System, mscorlib, etc...)
<br>
<br>
Jonathan de Halleux
Monday, June 06, 2005 5:59:32 PM UTC
Try to delete Reflector.cfg and what error it shows when loading mscorlib.dll. In all likelyhood something is broken with your assembly paths.
Foo
Monday, June 06, 2005 5:59:33 PM UTC
Nice job!
<br>It should be published in CP or some places else.
AI2004
Monday, June 06, 2005 5:59:33 PM UTC
So great!!!Thx!
Jumper Ting
Monday, June 06, 2005 5:59:34 PM UTC
Great job!!! And now on TheServerSide.Net :)
<br>
<br>
<br>Btw, is the assembly grapher or other part available as an NAnt task ?
<br>
<br>Thibaut
Thibaut Barrère
Monday, June 06, 2005 5:59:34 PM UTC
Hi !
<br>
<br>Can't find a way how could I exec Reflector.Graph. Besides I see two working Method Ranking menu (Reflector 4.0.5.0 of course)
Oleg Belkin
Monday, June 06, 2005 5:59:35 PM UTC
Thibaut: not yet, wanna do it ?
<br>Oleg: that's a bug that should be fixed with v1.1 of <a title="Reflector" href="http://www.aisto.com/roeder/dotnet/" target="_blank">Reflector</a>.graph.
<br>
<br>You cannot execute <a title="Reflector" href="http://www.aisto.com/roeder/dotnet/" target="_blank">Reflector</a>.Graph since this is an addin for <a title="Reflector" href="http://www.aisto.com/roeder/dotnet/" target="_blank">Reflector</a>.
Jonathan de Halleux
Monday, June 06, 2005 5:59:35 PM UTC
Peli's Blog
Monday, June 06, 2005 5:59:36 PM UTC
****** BUG REPORT ********
<br>
<br>
<br>I was browsing the System.Web.Forms Authentication Namespace, then boom.
<br>------------------------------------
<br>
<br>Object reference not set to an instance of an object.
<br>
<br>System.NullReferenceException
<br>
<br> at <a title="Reflector" href="http://www.aisto.com/roeder/dotnet/" target="_blank">Reflector</a>.Graph.Graphs.FlowToCodeConverter.Convert(IInstructionCode code)
<br> at <a title="Reflector" href="http://www.aisto.com/roeder/dotnet/" target="_blank">Reflector</a>.Graph.Graphs.IlGraphPopulator.BuildGraphFromMethod(IMethodBody method)
<br> at <a title="Reflector" href="http://www.aisto.com/roeder/dotnet/" target="_blank">Reflector</a>.Graph.Graphs.IlGraphControl.Translate()
<br> at <a title="Reflector" href="http://www.aisto.com/roeder/dotnet/" target="_blank">Reflector</a>.Graph.Controls.GraphControl.OnParentChanged(EventArgs e)
<br> at System.Windows.Forms.Control.AssignParent(Control value)
<br> at System.Windows.Forms.ControlCollection.Add(Control value)
<br> at _90._1(IWindow )
<br> at _80._1(String )
<br> at _3.set_Visible(Boolean value)
<br> at <a title="Reflector" href="http://www.aisto.com/roeder/dotnet/" target="_blank">Reflector</a>.Graph.GraphPackage.IlGraph_Click(Object sender, EventArgs e)
<br> at _30.OnClick(EventArgs e)
<br> at _30._1(EventArgs )
<br> at _1.OnClick(EventArgs e)
<br> at System.Windows.Forms.MenuItemData.Execute()
<br> at System.Windows.Forms.Command.Invoke()
<br> at System.Windows.Forms.Control.WmCommand(Message&amp; m)
<br> at System.Windows.Forms.Control.WndProc(Message&amp; m)
<br> at System.Windows.Forms.TreeView.WndProc(Message&amp; m)
<br> at _6.WndProc(Message&amp; message)
<br> at System.Windows.Forms.ControlNativeWindow.OnMessage(Message&amp; m)
<br> at System.Windows.Forms.ControlNativeWindow.WndProc(Message&amp; m)
<br> at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
<br>
<br>
<br>.NET <a title="Reflector" href="http://www.aisto.com/roeder/dotnet/" target="_blank">Reflector</a> 4.0.5.0
<br>.NET Framework 1.0.3705.288
<br>Microsoft Windows NT 5.1.2600.0
<br>
<br>
<br>[AddInManager]
<br>&quot;D:\dotnet\reflector\Tools\Reflector.Graph.dll&quot;
<br>
<br>[AssemblyCache]
<br>&quot;%SystemRoot%\Microsoft.net&quot;
<br>&quot;%ProgramFiles%\Microsoft.net&quot;
<br>
<br>[AssemblyLoader]
<br>&quot;%SystemRoot%\Microsoft.net\Framework\v1.1.4322\mscorlib.dll&quot;
<br>&quot;%SystemRoot%\Microsoft.net\Framework\v1.1.4322\System.dll&quot;
<br>&quot;%SystemRoot%\Microsoft.net\Framework\v1.1.4322\System.Data.dll&quot;
<br>&quot;%SystemRoot%\Microsoft.net\Framework\v1.1.4322\System.Drawing.dll&quot;
<br>&quot;%SystemRoot%\Microsoft.net\Framework\v1.1.4322\System.Web.dll&quot;
<br>&quot;%SystemRoot%\Microsoft.net\Framework\v1.1.4322\System.Windows.Forms.dll&quot;
<br>&quot;%SystemRoot%\Microsoft.net\Framework\v1.1.4322\System.Xml.dll&quot;
<br>
<br>[Formatter]
<br>ShowCustomAttributes=&quot;true&quot;
<br>
<br>[LanguageManager]
<br>ActiveLanguage=&quot;C#&quot;
<br>
<br>[WindowManager]
<br>X=&quot;36&quot;
<br>Y=&quot;100&quot;
<br>Width=&quot;1224&quot;
<br>Height=&quot;689&quot;
<br>Pane=&quot;480&quot;
<br>
<br>
Adam Hill
Monday, June 06, 2005 5:59:36 PM UTC
Reyn's Blog
Monday, June 06, 2005 5:59:37 PM UTC
Wow, superb!
<br>Thanks.
Diana
Comments are closed.