Current Page:
NeXtMidas Training
NetBeans - Part 3 (Profiler)
Profiler Setup
Step 5
|
|
- Profiler Setup:
- Away from the Attach Wizard bring up the shell console you will use to run
NeXtMidas.
- If you are running C-Shell
setenv NM_PROFILER_FLAGS and then type a space
(do not hit enter).
- If you are running Bash
export NM_PROFILER_FLAGS and then type a space
(do not hit enter).
- Now paste the
-agentpath: line from the Attach Wizard into the
shell and press enter.
- It should look something like this:
C-Shell:
$ setenv NM_PROFILER_FLAGS -agentpath:/opt/netbeans-5.5rc1/profiler1/
lib/deployed/jdk15/linux/libprofilerinterface.so=/opt/netbeans-5.5rc1
/profiler1/lib,5140
$
Bash:
$ export NM_PROFILER_FLAGS='-agentpath:/opt/netbeans-5.5rc1/profiler1/
lib/deployed/jdk15/linux/libprofilerinterface.so=/opt/netbeans-5.5rc1
/profiler1/lib,5140'
$
- The above example is just an example, the actual
-agentpath:
line will differ on your system.
|
|
|