Debugging w/ Sun One Update 1 Mobile Edition

I can execute the MIDlet fine. The emulator shows up and my MIDlet starts running. But if I set a breakpoint in the code, Sun One freezes. I wonder if I am doing something wrong or don't have something setup correctly here. This is the output in the Output window from Sun One Mobile:

Connecting to 127.0.0.1 on port 2800

Waiting for debugger on port 5500

KVM not ready

Connection received

What is KVM?

[447 byte] By [tbalcom123] at [2008-2-21]
# 1
KVM is similar to JVM. You can relate KVM to J2ME in the same way JVM to J2SE. You can debug the midlets. Check for the port and kill the process which is already running at the port.
709121 at 2007-7-1 > top of java,Archived Forums,Sun ONE Web Services Platform Developer Edition...
# 2

Hi,

Are you using Sun ONE Studio to debug your MIDlet?. Then right click the MIDlet file and go to properties, click on execution tab and select External Debugger to "Emulator Debugger" and re-start debugging. .

KVM is Kilo byte Virtual Machine, a smaller foot print of JVM.

Hope this helps.

Thanks,

Rakesh.

Rakesh Garishakurthi at 2007-7-1 > top of java,Archived Forums,Sun ONE Web Services Platform Developer Edition...