Community
Participate
Working Groups
When I am trying to debug the application, it crashes while I am invoking a command from a menu. It doesn't leave any trace and it freezes - I cannot step forward. The trace is empty: "Waiting for KVM... Connecting to 127.0.0.1 on port 2800 Waiting for debugger on port 3586 Connection received. Running with storage root C:\Documents and Settings\Dev\j2mewtk\2.5.2\appdb\temp.DefaultGrayPhone6 Running with locale: English_United States.1252 Running in the identified_third_party security domain Connected to KVM" And the system thread says "stepping" when actually is frozen in some state. (You can see that from the pictures, if you get them) I tried to restart eclipse, clean the project, restart the pc. It doesn't work. The same happens. When I debugged I got to a line were he tries to execute a getter, but at the point it exits the getter it freezes. On the other hand the last time I debug the app, I had some problems with the record store. I tried to readInt when there was no such field in that record (at least that's what it said).
Created attachment 139779 [details] system thread and disabled stepping buttons This jpg shows that while the system thread says "stepping", the buttons for stepping are unavailable => that clearly states it is frozen.
The first time I succeeded to find a workaround by clicking on the pause button. Than a "System Thread [] (Suspend)" appears and I can click on the run button to continue. But as I continue working with the app (reaching a command in a menu again), I get the same and this time when I try the same I get the error "com.sun.jdi.InternalException: Got error code in reply:10 occured resuming VM." and than it freezes again.
Created attachment 139799 [details] debug window after clicking pause button The look of the debug window after clicking the pause button the first time it freezes. When it freezes the second time and I try to run it with the run button, I get the error.
if you do a simple midlet, can you debug it? can you double check if you have the debug timeout settings ok? (http://dsdp.eclipse.org/help/latest/index.jsp?topic=/org.eclipse.mtj.doc.user/html/gettingstarted/gettingstarted.html) are you able to do a debug on a different OS? can you debug with a a different emulator (like the motorola one?) MTJ code don't do almost anything during the debug. it just starts a JDT debug session... so the issue might be on a different place :) gep
Everything was done by the book - all the stuff that you mentioned with the timeout settings... Anyway, I found a workaround. I just don't use as many breakpoints as I did. The Thread is working properly with one breakpoint. Regards, Despot
change target milestone to galileo SR1
this bug was not included on 1.0.1
close bug