Managing Analyzer Scripts

The Execution Analyzer window enables you to manage all Analyzer scripts in the model. You use the window toolbar buttons or script context menu options to control script tasks. Scripts are listed by package; the list only shows packages that have Analyzer scripts defined against them.

Each user can activate one script at any time, independent of other users of the same model; one user activating a script does not impact the currently active scripts for other users or affect the scripts available to them.

Access    Analyzer | Execution Analyzer (Shift+F12)

Toolbar Options:

Toolbar Button

Action

See also

AnalyzerWindows

List the Analyzer windows; select and display the required window.

Debugging

Breakpoint and Marker Management

View the Call Stack

View the Local Variables

View Variables in Other Scopes

Inspect Process Memory

The Recording History

The Testpoints Window

Profiling

Model Simulation

 

VEA-AddScript

Add new Analyzer Script.

A prompt displays to browse for and select the parent package, followed by the Analyzer Script Editor.

 

Analyzer Script Editor

VEA-ExportScripts

Export Scripts.

Export one or more Analyzer Scripts to an XML file, which can be used to import the scripts into another model.

The Execution Analyzer: Export dialog displays, from which you select the script or scripts to export, followed by a prompt for the target file name and location.

 

 

VEA-ImportScripts

Import Scripts.

Import one or more Analyzer Scripts into the current model from a previously exported XML file.

The Browse Project dialog displays, on which you select the package into which to import the scripts, followed by a prompt for the source file name and location.

 

 

VEA-Build

Execute the Build command of the active script.

 

Add Commands

VEA-CancelBuild

Cancel the Build command currently in progress.

 

 

VEA-Run

Execute the Run command of the active script.

 

Add Run Command

VEA-Test

Execute the Test command of the active script.

 

Add Testing Command

VEA-Deploy

Execute the Deploy command of the active script.

 

Add Deploy Command

scenHelp

Display the Help topic for this window.

 

 

Context Menu Options:

Right-click on the required script or package to display the context menus.

Option

Action

See also

Add New Script

Add a new script to the selected package.

The Analyzer Scripts Editor displays, showing the Build page.

 

Analyzer Script Editor

Paste Script

Paste a copied script from the  Enterprise Architect clipboard into the selected package.

You can paste the copied script several times; each copy has the suffix Copy.

To rename the copied script, press (F2) and overtype the script name.

 

 

Export Scripts

Export scripts from the selected package.

The Execution Analyzer: Export dialog displays, from which you select the script or scripts to export, followed by a prompt for the target file name and location.

 

 

Import Scripts

Import scripts from a .XML file into the selected package.

A prompt displays for the source file name and location.

 

 

Select In Project Browser

Highlight the selected package in the Project Browser.

Display the Project Browser, which is now expanded to show the highlighted package.

 

 

Build

Execute the Build command of the selected script.

 

Build Application

Clean

Execute the Clean command of the selected script.

 

Clean

Rebuild

Execute the Clean and Build commands of the selected script.

 

Build Application

Debug

Execute the Debug command of the selected script.

 

Set up a Debug script

Run

Execute the Run command of the selected script.

 

Add Run Command

Test

Execute the Test command of the selected script.

 

Add Testing Command

Deploy

Execute the Deploy command of the selected script.

 

Add Deploy Command

Start Simulation

 

 

 

Edit

Open the selected script in the Analyzer Scripts Editor.

 

Analyzer Script Editor

Copy

Copy the selected script to the Enterprise Architect clipboard.

 

 

Paste

Paste the most-recently copied script to the same package as the selected script.

You can paste the copied script several times; each copy has the suffix Copy.

To rename the copied script, press (F2) and overtype the script name.

 

 

Delete

Delete the selected script; there is no prompt for confirmation.

To delete a package from the Execution Analyzer window, delete the scripts from the package; when the last script is deleted, the package is no longer listed.

 

 

Set as Model Default

Set the selected script as the default script for the model.

The icon to the left of the script changes color; any previously-set default script reverts to normal.

 

 

Help

Display the Help topic for this window.

 

 

Learning Center topics

(Alt+F1) | Build and Debug | Overview | Analyzer Scripts