| 前页 | 后页 | 
互联网浏览器Java小程序
本主题描述了从Enterprise Architect调试在浏览器中运行的Java Applet的配置要求和过程。
附加到从Enterprise Architect托管Java虚拟机(JVM)的浏览器进程
| 步 | 行动 | 也可以看看 | 
|---|---|---|
| 1个 | 确保已使用调试信息构建了要调试的applet代码的二进制文件。 | |
| 2 | 使用Java控制面板配置JVM。 | |
| 3 | 在“ Java Applet运行时设置”面板中,单击“查看”按钮。 | |
| 4 | 在要使用的已安装版本上,根据您的环境以及您使用的是32位应用程序还是64位应用程序,在“运行时参数”字段中包括以下选项之一: -agentpath:“ c:\ program files \ sparx systems \ ea \ VEA \ x86 \ SSJavaProfiler32” -agentpath:“ c:\ program files(x86)\ sparx systems \ ea \ VEA \ x86 \ SSJavaProfiler32” -agentpath:“ c:\ program files(x86)\ sparx systems \ ea \ VEA \ x64 \ SSJavaProfiler64” | |
| 5 | 在此字段中添加所需的类路径。 这些路径中的至少一个应包括要在调试中使用的源文件的根路径。 | |
| 6 | 设置断点。 | 断点和标记管理 | 
| 7 | 启动浏览器。 | |
| 8 | 从Enterprise Architect附加到浏览器进程。 | 
