Stop not working in Debugger under 7.0.4

Folks,

My team and I have upgraded to IDEA 7.0.4. We're running on Mac OS X 10.5 with Java 1.5. When we run applications, unit tests, etc in the debugger, if we have hit a break point, the Stop button no longer stops the running app. What happens is that the stop button becomes disabled, but the application is not shut down and the play and pause buttons remain enabled. If we then hit the play button, application execution resumes. The only way we can seem to force the app to actually stop is by closing the tab. Has anyone else experienced this? Does anyone know of a workaround besides reverting back to 7.0.3?

Paul

6 comments
Comment actions Permalink

Paul,

I've been meaning to report this, too.

I'm seeing it on Linux with Sun JVM 1.6.0_07. What's more, you may find (as I do) that even if you close the debugger and allow IDEA to (attempt to) kill the JVM that it (the JVM) continues to run. What's more, it's in a peculiar state that requires a SIGKILL (9) to actually kill the process (while SIGTERM (15) should suffice, I believe).

For me, if the program is stopped at a breakpoint, then after clicking stop I can usually click the green "go" arrow and the target process will soon end, but if it was stopped by an exception (that is being intercepted by the debugger) then I have to click the go arrow many times before I get out. In other words, the uncaught exception itself does not terminate the running Java code.

It's pretty annoying, alright.


Randall Schulz

0
Comment actions Permalink

I'm chiming in, too, following a recent upgrade to 7.0.4 on a Mac. I'm finding that the VM simply won't detach.

Pressing the Stop button does stop the program and disables the stop button, but the green Resume Program button remains lit. Pressing the Resume Program button then causes the VM to detach.

Similarly, I tried to launch my program via the JProfiler pluggin. Upon stopping the profiler, the program got stuck with a "Wait for VM to detach" dialog box. So the fact that this affects JProfiler, too, seems to indicate it's lower-level than just the debugger.

Any thoughts or help would be greatly appreciated!

Edited by: TreeSkier on Aug 22, 2008 8:04 PM

0
Comment actions Permalink

Skier,

With GUI apps, I'm frequently using the option-right-click>Force Quit approach to get out. There's no question that there are lots of problems in this version with terminating apps that are run under the debugger.

Paul

0
Comment actions Permalink

Thanks Paul.... yes, problems indeed. I've resorted to Force Quit a few times as well, but find that most of the time I can "run-button" my way out of the program, even though I've previously hit the Stop button. I'll make sure a bug-report exists about it. Thanks for the reply.

0
Comment actions Permalink

This is a real show stopper are there earlier versions of the jvm and/or intellij where stop did work???

0
Comment actions Permalink

It is advertised as fixed in the 7.0.5 EAP release #7952. I'm running that release, but haven't gotten around to checking whether the debugger bug is fixed.

I'll again gripe that neither the final release of 7.0.4 or the 7.0.5 EAP release were announced in the Announcements (http://www.intellij.net/forums/forum.jspa?forumID=7) forum.


Randall Schulz

0

Please sign in to leave a comment.