|Cannot debug my application [message #496124]
||Sun, 08 November 2009 13:53
| Anders ind
Registered: November 2009
I have tried to create a midlet with eclipseme. Instead of wireless tookit I have installed Java_ME_platform_SDK_3.0 because it should replace wireless toolkit. I have also installed the jdt plugin in eclipse.
In the windows->preferences->j2me settings I have scanned for devices by pressing import + browse and choosen the directory C:\Java_ME_platform_SDK_3.0. Why I had to specify that directory is unknown to me because I have already specified it in window->preferences->j2me and WTK Root. (1)
When I have selected the directory I also had to press Refresh (2).
I took a long time to generate the list (3). I had to press finish to remove the search window and actually populate the list (4). I got 12 entries, the first of them pre-selected. I dont know why (5). One entry was named DefaultCldcPhone2 and another DefaultCldcPhone1 (6). I pressed ok, because eventually I know have a device to run my application on. Now I created a midlet suite and a midlet which had the method startApp, destroyApp and pauseApp. The order of the function when they had been autogenerated was not in this apparent order (7). If I debug my application I get a sun style cell phone window with an application that is not the one I have programmed but the default application (8). Eclipse tries to connect to the debugger which it does not manage to do. (9). Instead it hangs until a timeout has been encountered (10).
Why is eclipse hanging is my main question. I have also marked some other confusing things with numbers in my posting.
Thanks for reading this!
Powered by FUDForum
. Page generated in 0.05283 seconds