Debugging
I'm running the j2me wireless toolkit 1.0.2 early access and Forte 3.0. How do I debug my wireless application when using the PALM emulator? It appears that the wireless toolket 1.0.2 and Forte 3.0 don't really work well together yet (I certainly have NOT figured out how to run and debug from the Forte IDE) so I want to resort to System.out.println running from the wireless toolkit. However, when I do that for the PALM emulator, I get no output (I'm pretty sure that I can get output in the wireless toolkit KToolbar for the other emulators).
Help! It's pretty hard debugging by just reading source code. Thanks in advance for any suggestions!
[671 byte] By [
rkrubeck] at [2007-9-26 4:39:31]

I am having the same problem. The application will execute fine, but if I set a breakpoint and try to debug i get
A descriptor must be specified for MIDP-Palm.
Connecting to 127.0.0.1 on port 2800
KVM not readyebugger on port 5500
Connection received.
KVM not ready
I'm sure there is a simple answer to this.
I was having the same problem but I figured out how to resolve it. Im not sure what step resolved the problem but I dont think it would hurt to do all of the steps.
1. Run F:\forte4j\emulator\j2mewtk-1_0_3-win\bin\DefaultDevice.bat and select the Palm OS Device.
2. Run F:\forte4j\emulator\j2mewtk-1_0_3-win\bin\Prefs.bat and click browse to select the emulator.exe location.
3. In forte under your filesystem create a MIDletSuite. Its under New | MIDP |MIDletSuite. Select the MIDlet and the Palm OS Device and click finish. Then run the MIDletSuite and it should launch in the emulator.
Hope this helps.
You get an error message "A descriptor is ... for MIDP Palm" because a *.JAD file (a descriptor) has not been created yet. When you run it under K-tool, it is created automatically after pressing Run/Execute. Under Sun ONE Studio 4 (formerly Forte) go to Explorer, right click on the MIDlet Suit and click Compile (that creates the desired Descriptor) and the you can click Run. If you have set up the Emulator well, it should then be working correctly. Have a nice debugging!