j2me plugin problem / bug
Hi,
i have been using intellij IDEA 6.05 for J2ME development. the code refactoring, completion , etc. everything is very good.
but there seems to be a major problem with the debugging part -- it steps into the j2me library files and opens up various class files inspite of specifying a filter using the debug options. i specified a filter javax.* to avoid stepping into, but it doesn't seem to work.
is this a bug with the plugin or am i missing somthing here?
also, when i run the project, if i get an exception like a null pointer exception, it shows the lines of code that caused the problem, in the run window BUT those lines of code were incorrect i.e. it shows the wrong line numbers for the code that cause the problem. Again, there is no link for the error messgae, so that when i click it, it takes me to the code that caused the problem.
both, these problems i mentioned do not happen in Netbeans 5.0
looks like, netbeans is the only ide that fully integrates with j2me WTK. maybe i need to switch back, if i can't find a solution.
++minesh.
Please sign in to leave a comment.
Hello minesh,
How do you configure your jdk? Could you please provide your /IntellijIdea
6.0/config/jdk.table.xml? Seems that there are classes from java SDK as well
as mobile jdk in your classpath.
Are these NPE in your code or in libraries?
Hi Anna,
Thank you for the reply.
below is the jdk.table.xml file contents. Can you tell me if there is something wrong it.
in the meantime i tried with different filters like .class , javax.microedition.lcdui. etc. but again no success.
basically i don't want the debugger to go into the j2me libraries when i am in the paint() method.
about the NPE, its in my source files. the first time i was not aware of the bug in my source so, i cross checked and corrected it with netbeans. then on purpose i put a NPE again to test intellij IDEA.
]]>
Hello,
seems that kvm ignores filters. We will try to create a workaround. JDK table
is OK.
Could you please describe your NPE problems? Where are incorrect lines? Can
you navigate from stacktrace anywhere?
Thank you
-
Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"