Integration with NetBeans
CPU and memory profiling has never been easier and smarter at the same time with using YourKit on the NetBeans platform. YourKit Java Profiler brings new functionality to NetBeans and adds the ability to profile complex J2EE and desktop applications with just a single click. YourKit Java Profiler adds a new Profile action in all places where you usually find "Run" or "Debug" within the NetBeans environment. The profiler is seamlessly integrated with NetBeans 5.x/6.x.
After installation of the plugin, you'll see the Profile actions visible in the main toolbar:
and in the context menus of the editor:
You can profile J2SE, J2EE applications and applets. Additional launch parameters can be configured in the
Tools | Options, node "YourKit Java Profiler":
The Profile action starts the profiled application, connects to it the profiler UI (if opposite behavior is not configured). The output of the profiled application appears in the normal NetBeans output console the same as it would from the normal "Run" action within the environment.
To make developer's life comfortable and easier the YourKit Java Profiler provides quick navigation from profiling results right into NetBeans source editor.
Unlike other solutions that force you to tell the profiler where the source code
of your application is located and then merely show the code in a feature-restricted
self-made editor surrogate, YourKit provides an alternative approach.
Simply select a method, class or field in the profiler UI, and then use
Tools | Open Declaration in IDE Editor (F7), to automatically open underlying source code
in the NetBeans editor.

