Debug hangs after resume from a condition debug

IDEA version: 3.0.2
OS: Window 2000 Server with SP3
JDK: The project is running and debugging in Sun jdk 1.4.1_02

After I set a condition breakpoint on line break like this:

temp_string.equals("XXX")

The debug stops on this line when the condition met. But after that, if I resume, it looks like the whole JVM just hang. I have to terminate the while process and restart. This is really boring.

But in the breakpoint, if I choose "Suspend all threads while stepping", everything is fine.

By the way, if in the condition debug or in Evaluate Expression, when I typed a reference name and a "." after that, if the methods list can auto pop up just like in the file editting, that will be very greatful.

1 comment

But in the breakpoint, if I choose "Suspend all threads while stepping", everything is fine.


Yes, this is a known issue that single-thread-suspend poiicy can cause hangs, and this is one of the reasons why theoption was
introduced. Please use it for this particular case.

>By the way, if in the condition debug or in Evaluate Expression, when I typed a reference name and a "." after that, if the methods
list can auto pop up just >like in the file editting, that will be very greatful.

This is already implemented in Aurora.


--

Best regards,
Eugene Zhuravlev
JetBrains, Inc, http://www.intellij.com
"Develop with pleasure!"


0

Please sign in to leave a comment.