If you want to profile your application, and TPTP or JProfiler aren't available to you, you can still use Netbeans.
Here is how:
Download & Install Netbeans + Netbeans Profiler (Netbeans 6 M9 already includes the profiler, but it may have a few ). Start Netbeans and from the menu choose: Profiler > Advanced Commands > Run Profiler Calibration
In your WO development environment of choice:
Add the following to your VM arguments when you start your wo application: (Note you need to be using JDK 1.5 for this to work)
For Netbeans 5.5 + Profiler -agentpath:"/Applications/NetBeans.app/Contents/Resources/NetBeans/profiler1/lib/deployed/jdk15/mac/libprofilerinterface.jnilib"="/Applications/NetBeans.app/Contents/Resources/NetBeans/profiler1/lib",5140
For Netbeans 6 M9 -agentpath:"/Applications/NetBeans 6.0 M9.app/Contents/Resources/NetBeans 6.0 M9/profiler2/lib/deployed/jdk15/mac/libprofilerinterface.jnilib"="/Applications/NetBeans 6.0 M9.app/Contents/Resources/NetBeans 6.0 M9/profiler2/lib",5140
(You will need to modify the path to suit your platform) Start your WO app.. it should sit there waiting for the profiler to attach. (I use |> (Run) in Eclipse)
In Netbeans:
Select Profile > Attach Profiler... In the attach wizard set Target as follows: Target type = Application Attach method = Local Attach invocation = Direct Select the configuration you wish to analyze Click >>Attach
Your should now be profiling your application in realtime.
Netbeans 6 is a little hit and miss at times, but 5.5 seems to work ok.
-- Seeya...Q
Quinton Dolan - email@hidden Gold Coast, QLD, Australia Ph: +61 419 729 806 |