Why reload classes after compile during debuging is not effective?

I use IntelliJ Idea 5.0.2.
When I use InteillJ idea 4.5, reload classes works fine. But when I changed to IntelliJ idea 5.0.2, it does not work. The project enviroment is same, both use JDK 1.4.2. I don't kown why.
Any one can help me? Thanks.

6 comments

Could you please give more detailed explanation of the problem? In particular what exactly does not work for you?

--
Best regards,
Eugene Zhuravlev
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"


"ldf" <no_mail@jetbrains.com> wrote in message news:6217774.1133718494638.JavaMail.javamailuser@localhost...
>I use IntelliJ Idea 5.0.2.

When I use InteillJ idea 4.5, reload classes works fine. But when I changed to IntelliJ idea 5.0.2, it does not work. The project
enviroment is same, both use JDK 1.4.2. I don't kown why.
Any one can help me? Thanks.



0

Oh, Thanks for you kindly reply, I have been waiting the answer for a long time :)

The case can be describe as following :

My project use JDK 1.4.2 platform. When I use IDEA 4.5, I can reload the compiled classes during debug process if I compiled some changed java files. IDEA 4.5 will ask me "reload changed classes?" and after I press the OK button, the changed class is reloaded, and I can continue to debug the new logic.

Some days before I want to test IDEA 5.0.2, so I open my project using IDEA 5.0.2. In the "Setting" - "Debugr" option dialog, The radio box of "Reload classes after compiled" is checked to "Ask" option. But I cannot reload the compiled classes during debug process again as IDEA 4.5. If I compile changed classes, IDEA only compile it and no prompt dialog appears.

Some difference between the IDEA version is that I have downloaded a lots of Plugins at 5.0.2. All the plugins works fine.

Best regards,
Thanks again.

0

BTW, my project is started standalone, and the debug process is using "remote" tab of debug dialog of IDEA to attach the standalone process. The attach method uses socket port 5006.


0

Where do you store compiled classes? Am I right that for your project compiler output paths are not under module content roots?

--
Best regards,
Eugene Zhuravlev
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"


0

I can describe my project more detaily.

My project path is "e:/work/dev", and the classes path is "e:/work/web/WEB-INF/classes". I have set the path to the "classes output path" in my project module setting dialog.

What I want to know is that why the same setting works fine in IDEA 4.5, but not in IDEA 5.0.2.

Any idea?
Thanks.

0

HaHa, I am so glad to see that I have solved this problem!

What I do is only uninstall the plugin "ideascript"! This plugin can do some control to IDEA. But if I installed this plugin, I cannot reload my compiled classes during debug process in IDEA 5.0.2.

Thank you kindly rely again, I love IDEA :)

0

Please sign in to leave a comment.