# Attach Profiler: Attach Settings Dialog Box

Use 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.

Element | Description
--- | ---
Local | Attaches the profiler to a local application. Select this option if the application is running on the local machine. If you select this option you need to select one of the following Connection options: Dynamic or Direct.
Dynamic | Connects to a process that is running.
Direct | Starts the application after the profiler attaches. If you select this option, you must modify the startup script of the application for standalone Java SE applications. If you are attaching to a server, you must modify the startup script and configuration file of the server.
Remote | Attaches the profiler to an application running on a remote system. Select this option if the application is running on a remote machine. If you select this option, you need to specify the following connection details for the remote host: Hostname and OS and JVM.
Hostname | .Specifies the hostname of the target.
OS & JVM | Selects the operating system of the target.

After you specify the connection details, you must perform the configuration steps in the dialog box. Start the remote application on a Remote Profiling Pack that the IDE generates based on the connection details that you specified.

Related Topics

Developing Applications with NetBeans IDE,

Developing Applications with NetBeans IDE,

Developing Applications with NetBeans IDE,

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.