P.S. Monty (Sun CLDC HotSpot Implementation) does support JVMPI/JPDA.
- Download and install NetBeans NetBeans IDE 6.5 bundled with Java.
- Make sure you have standard JDK 5.0_04 VM or later installed C:\jdk1.5.0_13
- Of course, get WTK installed Wireless Toolkit 2.5.2
- Start NetBeans, and run profiler calibration
- Attach profiler
- Use -agentpath argument of java command This is for loading the profiler agent into JVM, and I made it by modifying `C:\WTK2.5.2\bin\emulator.vm' to
- Launch WTK emulator
- Stop WTK emulator Choose yes here, unless you're happy with killing time.





C:\jdk1.5.0_13\bin\java -agentpath:"C:\Program Files\NetBeans 6.5\profiler3\lib\deployed\jdk15\windows\profilerinterface.dll=\"C:\Program Files\NetBeans 6.5\profiler3\lib\"",5140 -Dkvem.home="%KVEM_HOME%" ...If you're insrested in the syntax, please check here.
C:\WTK2.5.2\bin>emulator -Xdescriptor:..\apps\UiDemo\bin\UiDemo.jadIf the emulator is running correctly, the progress window at step 4 will be disappered.


- NetBeans profiler
No comments:
Post a Comment