Using the Visual Execution Analyzer
in Enterprise Architect

Webinar January 2014

Scott Hebbard, Communications Manager at Sparx Systems, will demonstrate how to use the Visual Execution Analyzer (VEA) to debug applications. In this session you will learn how to:

  • Take a model driven approach to software engineering
  • Use the Visual Execution Analyzer to debug and compile your code
  • Automatically generate a sequence diagram from executing code
  • Use the model to track issues and changes to code

Explore the Example Software Engineering Model & Code

We have provided a copy of the Enterprise Architect model that was used in the webinar.

Download: Nightly-Batch-Process.eap

Questions from the Audience

Questions & Answers

Can Enterprise Architect be connected with TFS? Is it possible when we create a change request in Enterprise Architect to sync that information with TFS?

Enterprise Architect can be connected to Team Foundation Server using the MDG add-in for Microsoft Visual Studio.
This allows you to define work items and sync work items with Enterprise Architect. Enterprise Architect can also use TFS as its version control provider.

How well does the tool support looking into existing apps? (i.e. we are not forward engineering from a model as shown in the webinar)

Enterprise Architect makes it easy to Reverse Engineer code from an existing code base. Enterprise Architect is capable of Reverse Engineering very large applications, instantly providing detailed information about classes and system design. This information can help you understand how your code works and can help visualize your legacy applications. Reverse Engineering Legacy applications can be used to facilitate training of new staff and can also be used to help document existing systems for key stakeholders.

For more information on reverse engineering, see the Enterprise Architect User Guide on Importing Source Code.

Does Sparx Systems have a collection of tutorials or discussions on Testpoints?

Please review our YouTube video that provides a detailed description on how Testpoints work.

Is there support in Enterprise Architect for JavaScript?

Yes, JavaScript can be used for creating Model Scripts in Enterprise Architect.

The Corporate and suite editions of Enterprise Architect also have the capability of using JavaScript to evaluate guards, effects and other aspects of behaviour within the Simulation context. This provides for a fully automated, intelligent execution of your State or Activity model, with fine control over breakpoints, execution speed and simulation variables. Currently however, forward and reverse engineering of JavaScript is not possible.

Could you please mention the steps required to integrate the external compiler into Enterprise Architect?

The Enterprise Architect User Guide describes the process required to integrate the external GNU Debugger into Enterprise Architect.

An Analyzer Script is a basic requirement for debugging in Enterprise Architect; you create a script using the Execution Analyzer toolbar. On the Platform page of the Execution Analyzer Script Editor, in the Debugger field click on the drop-down arrow and select GDB.

Is it possible to use Test Driven Design in this process?

Yes. Enterprise Architect does support Test Driven Design. It is possible to automatically generate an internal and external Test Case from a structured scenario.

For more information on Test Driven Design, see the Quick Start Guide on Writing Use case Scenarios for Model Driven Development.

Enterprise Architect also has a feature call Testpoints, enabling you to create Testpoints, test sets and test cases for your code. This is similar to J/N Unit testing however it is done in the model not in the code. Allowing you to save and reuse tests as well as pass tests to others without 'dirtying' your code.

How well (if at all) does the tool support apps that are built using a mix of C/C++?

Very Well. Sparx Systems uses Enterprise Architect as the standard IDE. Our C++ software development, modeling and testing are all performed using Enterprise Architect.

What Enterprise Architect edition is needed for using code generation? How can I upgrade my Enterprise Architect 9.0 Desktop edition?

Code Engineering is available in the Professional Edition and above.

For more information on the features found in each edition of Enterprise Architect, please visit our Compare Editions page.
Please email to get a quote for upgrading to the Professional Edition of Enterprise Architect.

Register for our Next Webinar!