Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Script Debugging

Script debugging aids in the development and maintenance of model scripts, and monitoring their activity at the time of execution. While debugging a script, you can:

Control execution flow using the Debug, Step Over, Step Into, Step Out and Stop Script buttons on the Script Editor toolbar
Set Breakpoints, Recording Markers and Tracepoint Markers
Use the Debug window to view output generated by the script
Use the Locals window to inspect values of variables, including objects from the Automation Interface
Use the Record & Analyze window to record a Sequence diagram of the script execution

Access     Script Editor Toolbar: Debug button

Begin debugging a model script



See Also


Open a model script in the Script Editor.

Scripts Tab

Script Editor



Set any Breakpoints on the appropriate line(s) of code.

Setting Code Breakpoints

Marker Types



Click on the start-Debug toolbar icon (Debug).




Script debugging is supported for VBScript, JScript and Javascript
VBScript and JScript require the Microsoft Process Debug Manager to be installed on the local machine; this is available through various Microsoft products including the free 'Microsoft Script Debugger'
Breakpoints are not saved for scripts and will not persist when the script is next opened
While debugging, script output is redirected to the Debug window

Learn more