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

The GNU Debugger

Enterprise Architect supports debugging with the GNU Debugger (GDB), which is a portable debugger that runs on Unix-like systems such as Linux, as well as Windows. This debugger works for many programming languages, including Ada, Java, C, C++ and Objective-C, and enables you to debug your applications locally or remotely.

This topic discusses the basic setup of the debugger.

Access    Analyzer | Execution Analyzer (Shift + F12) : New (Toolbar icon) > Debug > Platform
                  Analyzer | Execution Analyzer (Shift + F12) : locate and double-click on required script > Debug > Platform

Topics

Topic

Details

See also

Script Setup

An Analyzer Script is a basic requirement for debugging in Enterprise Architect; you create a script using the Execution Analyzer toolbar.

On the Platform page of the Execution Analyzer Script Editor, in the Debugger field click on the drop-down arrow and select GDB.

The property panel displays a number of connection settings, for which you provide values as indicated below:

 

Field

Value

Meaning

path

<path>

The complete file path of the GDB executable; you only specify this if GDB cannot be found in the system path.

 

remote

F

Set for remote debugging; otherwise leave blank.

 

port

<nnnnn>

The port to connect to on the remote server.

 

host

localhost

The hostname to connect to.

 

fetch

T

Set to retrieve the binary from the remote system.

 

dumpgdb

<path>

Filename to write the GDB output to.

 

 

Managing Analyzer Scripts