Recording Sequence Diagrams from .Net Source Code with Enterprise Architect from Sparx Systems

Lately I been investigating the options Enterprise Architect offers to record Sequence Diagrams from code, because we want to learn for LieberLieber AMUSE.

And I found a pretty interesting result:

It only takes into account “Classes” and not “Instances”.

There is two links that proved helpful – a video tutorial from Sparx Systems and a Blog post from Tom Peplow.


Setting up works in a similar way than it does for NUnit – refer to this Posts for hints.

I used my very Simple Account Class from the NUnit sample.


Then I prepared a little runner that would record a Sequence Chart using Enterprise Architects Debugger.


The result I’m getting from Enterprise Architect looks like this:


It doesn’t take into account that I have two instances of the same class – I would have rather expected it to look like:


What do you think? Is there value in a Sequence Diagram based on classes rather than on instances?

8 comments on “Recording Sequence Diagrams from .Net Source Code with Enterprise Architect from Sparx Systems

  1. I would say no, there is no value because of the danger that the diagram will not accurately represent the interaction. There are many cases where the results would be the same but at least in the scenario you are working with the first diagram creates confusion rather than eliminating it.

  2. Pingback: Fast way to generate Sequence Diagrams with Enterprise Architect | LieberLieber Software TeamBlog

  3. Pingback: LieberLieber Software TeamBlog » Blog Archive » Generating Sequence Diagrams from .net without Enterprise Architect

  4. Pingback: fitness exercise

  5. Pingback: weight loss exercise

  6. Pingback: Aufzeichnen von Sequenzdiagrammen aus dem .NET 4.0 Framework « Enterprise Architect Deutschsprachiger SparxSystems Blog

  7. Pingback: Tutorial – NUnit and Sequence Diagram Recording in Enterprise Architect 9.3 | LieberLieber Software TeamBlog

  8. Pingback: LieberLieber Blog for 2013 | LieberLieber Software TeamBlog

Hinterlasse eine Antwort

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind markiert *

Du kannst folgende HTML-Tags benutzen: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>