Prev | Next |
Debugging Configuration Linux
Debugger Configuration
This section describes the Debug section of an Analyzer Script in respect to debugging Mono under Linux. Fields that are not listed here are not required.
Debugger |
Select 'Mono'. |
Default Directory |
This is the fully qualified native Linux path where the application is located in Unix format. |
Connection |
|
Starting Mono Automatically
You can configure Enterprise Architect to start Mono for you when you start the debugger. You do this by configuring the 'Runtime Host' page of your Analyzer Script. The format of the commands is described here:
cd path-to-program
/usr/bin/mono --debug --debugger-agent=transport=dt_socket,address=host:port,server=y,suspend=y program
where:
- path-to-program is the directory path where the program is located
- host is one of these:
- localhost
- an IP address
- a networked machine name
- port is the Port for the socket
- program is the name of the application (such as MonoProgram.exe)
Starting Mono Manually using the Command Line
You can start Mono manually from a console. Locate the program in your file explorer, then open a console at that location. The format of the command line is described here:
/usr/bin/mono --debug --debugger-agent=transport=dt_socket,address=host:port,server=y,suspend=y program
where host is one of these:
- localhost
- an IP address
- a networked machine name
port is the Port for the socket and program is the name of the application (for example, MonoProgram.exe).