Prev Next

Run Script

This section describes how to create a command for running your executable code.

Access

On the Execution Analyzer window, either:

  • Locate and double-click on the required script and select the 'Run' page  or
  • Click on in the window Toolbar, select the Package in which to create a new script, and select the 'Run' page

Ribbon

Code > Configure > Analyzer > Edit Analyzer Scripts

Execute > Run > Analyzer

Keyboard Shortcuts

Shift+F12

Script elements

Element

Description

See also

Command

This is the command that is executed when you select the 'Execute > Run > Start' ribbon option; at its simplest, the script would contain the location and name of the file to be run.

Examples

These two examples show scripts configured to run a .Net and a Java application in Enterprise Architect.

.Net:

     C:\benchmark\cpp\example_net_1\release\example.exe

Java:

     customer

The command listed in this field is executed as if from the command prompt; as a result, if the executable path or any arguments contain spaces, they must be enclosed by quotes.

Notes

  • Enterprise Architect provides the ability to start your application normally OR with debugging from the same script; the 'Analyzer' menu has separate options for starting a normal run and a debug run