Internet Browser Java Applets

This topic describes the configuration requirements and procedure for debugging Java Applets running in a browser from Enterprise Architect.

How to

To attach to the browser process hosting the Java Virtual Machine (JVM) from Enterprise Architect

Step

Action

See also

1

Ensure binaries for the applet code to be debugged have been built with debug information.

 

 

2

Configure the JVM using the Java Control Panel.

 

 

3

In the Java Applet Runtime Settings panel, click on the View button.

 

 

4

On the installed version to use, include the following option in the Runtime Parameters field:

-agentpath:c:\program files\sparx systems\ea\SSJavaProfiler75

 

 

5

In this field add the required Class paths.

At least one of these paths should include the root path of the source files to use in debugging.

 

 

6

Set breakpoints.

 

Breakpoint and Marker Management

7

Launch the browser.

 

 

8

Attach to the browser process from Enterprise Architect.