Prev | Next |
Managing Analyzer Scripts
The Execution Analyzer window enables you to manage all Analyzer scripts in the model. You can 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 set their own active script, 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. The active script governs the behavior of the Execution Analyzer; when choosing the build command from a menu, for example, or clicking the on a toolbar.
There can be a lot of Packages with scripts listed in the window. To help you locate and isolate a particular Package, use the '
Packages' context menu options, described in the Context Menu Options table in this topic.Access
Ribbon |
Develop > Preferences > Analyzer > Edit Analyzer Scripts Execute > Tools > Analyzer |
Keyboard Shortcuts |
|
Toolbar Options
Toolbar Button |
Action |
See also |
---|---|---|
Quick access to the Analyzer core windows such as Call Stack or Local Variables, plus the power features:
|
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 | |
Create and edit a new Analyzer Script for the selected Package, under either Linux or WindowsTM. |
Analyzer Script Editor | |
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. |
||
Import Scripts. Import one or more Analyzer Scripts into the current model from a previously exported XML file. The 'Find Package' dialog displays, on which you select the Package into which to import the scripts, followed by a prompt for the source filename and location. |
||
Execute the 'Build' command of the active script. |
Build Scripts | |
Cancel the 'Build' command currently in progress. |
||
Execute the 'Run' command of the active script. |
Run Script | |
Execute the 'Test' command of the active script. |
Test Scripts | |
Execute the 'Deploy' command of the active script. |
Deploy Script |
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 Execution Analyzer window 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 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 filename and location. |
|
Import Scripts |
Import scripts from a .XML file into the selected Package. A prompt displays for the source filename and location. |
|
Filter Packages |
Displays a submenu of options to:
|
|
Select In Project Browser |
Highlight the selected Package in the Browser window. Display the Browser window, 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. |
Cleanup Script |
Rebuild |
Execute the 'Clean' and 'Build' commands of the selected script. |
Build Application |
Debug |
Execute the 'Debug' command of the selected script. |
Debug Script |
Run |
Execute the 'Run' command of the selected script. |
Run Script |
Test |
Execute the 'Test' command of the selected script. |
Test Scripts |
Deploy |
Execute the 'Deploy' command of the selected script. |
Deploy Script |
Merge |
Execute the 'Merge' source control command of the selected script. |
Merge Script |
Changes |
Execute the 'Changes' source control command of the selected script. |
|
History |
Execute the 'History' source control command of the selected script. |
|
Commit |
Execute the 'Commit' source control command of the selected script. |
|
Working Copy |
Execute the 'Working Copy' source control command of the selected script. |
|
Repository |
Execute the 'Repository' source control command of the selected script. |
|
Run JavaScript |
Execute the 'Run JavaScript' command of the selected script. |
|
Start Simulation |
Start the simulation referenced by the 'Analyzer Script Simulation' page. |
|
Run Executable Statemachine |
Start a simulation of the selected Executable Statemachine Artifact. |
Execution and Simulation of Executable StateMachines |
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 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. |
|
Package Default |
Set the selected script as the default script for the Package. The icon to the left of the script changes color; any previous Package default reverts to normal. |