The Attach Settings dialog box enables you to configure and review the settings for attaching the profiling tool to an application. To attach the profiler to an application you need to specify the location of the target JVM and a connection method. The attach settings are specific for each project.
You open this dialog box by choosing Profile > Attach Profiler in the main menu and then clicking define in the Attach Profiler dialog box.
The default setting is to attach to a project running locally using the Dynamic attach method. No additional configuration is required to attach the tool to the application if you select the default attach setting. Specifying other attach settings might require you to modify the startup scripts for the application or server or perform additional configuration steps.
In this dialog box you must perform the following steps to attach the profiling tool to an application.
In this dialog box you can select the following attach setting options.
If you select this option you need to select one of the following Connection options.
If you select Remote you need to specify the following connection details for the remote host.
After you specify the connection details you need to perform the configuration steps in the dialog box. You will need to start the remote application on a Remote Profiling Pack that the IDE will generate based on the connection details that you specified.
To attach the profiling tool to an application that is running on a remote JVM you need to configure the remote JVM to start up using a remote profiling pack. The remote profiling pack is a collection of libraries that will enable the profiling tool to attach to the remote JVM.