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

Before Starting

The Model Driven Development Environment provides Debuggers for the following frameworks:

·Microsoft Native Code applications
·Microsoft .NET applications
·Java applications
·PHP applications
·Scripting languages: JavaScript (Mozilla), VBScript and JScript (Microsoft)
 

Checklist

Step

Action

See also

1

A model must be open.

 

 

2

Ensure any source code for the areas of interest has been generated or imported into the model, synchronized with the model and, if necessary, compiled.

 

Generate Source Code

Importing Source Code

Update Package Contents

 

Option 1 - No Analyzer Script

If you have not configured an Analyzer Script, you can still debug a process that is running.

Step

Action

See also

1

Optionally set breakpoints before debugging.

Breakpoint and Marker Management

 

2

Use the Attach button on the Debug toolbar

·Select the debugging platform
·Select the process to debug

 

 

Option 2 - Analyzer Script, with Debug Page Configured

Step

Action

See also

1

Ensure the application has been built.

You can do this internally using a Build Script, or you can build the application externally; the important thing is that the application is built on the latest versions of the source.

 

Build Application

Add Build Commands (script)

2

Create an appropriate debug script on the Debug page of the Analyzer Script Editor.

 

Set up a Debug script

3

Set breakpoints in the code.

 

Set Code Breakpoints

4

Start the debugger.

 

Run the Debugger