|
Post by kallin on Aug 1, 2008 9:35:38 GMT -5
A feature I've come to rely on in java 1.5/1.6 development is the ability to recompile a class in IDEA/eclipse while debugging a remote JVM, and have that class reloaded in that remote JVM. When I try this on the WTK JDK I receive unsupported operation exceptions. Is it really impossible to do this with this minimal JVM, or am I just missing something?
|
|
|
Post by Adam Schmelzle on Aug 1, 2008 11:57:03 GMT -5
I've never even attempted it before. My *guess* is that it won't work for J2ME. The classes are all verified before running, and that probably messes up any chances of doing what you suggest. Anyone else doing something similar?
|
|
|
Post by kallin on Aug 1, 2008 14:59:50 GMT -5
You don't know what you're missing out on Adam . With a 'hotswap' capable jvm, you rarely need to restart an app unless you're making major structural changes. There's also the ability in eclipse/idea to open up a dialogue box when you've hit a breakpoint and write arbitrary code with access to all variables in scope. I guess i'll just have to learn to live without it...
|
|
|
Post by Adam Schmelzle on Aug 1, 2008 19:43:08 GMT -5
That does indeed sound useful. It's been years since I've done any proper debugging. I currently make ample use of System.out.println()
|
|