Blog Clemens Reijnen

Recent posts

Tags

Categories

Navigation

Pages

Archive

Blogroll

    Disclaimer

    The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

    Rosario - Create Sequence Diagram from Binary

    A follow-up on the "Rosario - Create Sequence Diagram from Existing Code" post...

    To have real fun I analyzed the "Insert Into Active Diagram..." command smile_teeth.

    First I analyzed the "ReverseEngineerMethodCommand" method, which can be found in the "StructuralDesignersCommands" assembly in Visual Studio's "PrivateAssemblies" folder. This ended in 100% CPU and a deadlock of Visual Studio, probably to much method calls to classes and depth in there.

    Anyway, when I analyzed the "CreateLifelineCommandImplementation" It didn't crash and a nice sequence diagram was created. [see image].

    seq
    I must go and buy an A0 printer or a video-wall to get a nice overview... smile_sniff

    Zooming will give use more insight... first it gets some necessary information and setting some properties.
    zoom1 

    Second get the ServiceManager and Service from the Backplane [Edward talks in detail about this].
    zoom2

    And third, the lifelines...
    zoom3

    Nice..! ... with the combination of reflector and these sequence diagrams it really gets easy to understand code.

    ref

    One comment: with this big diagrams you really need a split function..!
    Posted: May 08 2008, 05:15 by Clemens | Comments (1) RSS comment feed |
    • Currently 0/5 Stars.
    • 1
    • 2
    • 3
    • 4
    • 5
    Filed under:

    Comments

    Comments are closed