History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-11569
Type: Usability Problem Usability Problem
Status: Open Open
Priority: Major Major
Assignee: Eugene Zhuravlev
Reporter: M.J.Milicevic
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

Detaching from remote server doesn't work as expected)

Created: 17 Jun 05 13:16   Updated: 06 Nov 08 23:28
Component/s: Debugger
Fix Version/s: Undefined

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: windowsxp pro

Build: 3,370
Severity: Extreme


 Description  « Hide
I have setup debugging for tomcat 5 as remote server, with these parameters:
-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005

Now, when I run debugging:

1) debugger connects fine:
"Connected to the target VM at 'localhost:5005' using socket transport"....OK
2) when I close debugger window(stop debugging), debugger says:
"Disconnected from the target VM at 'localhost:5005' using socket transport."....OK
PROBLEM:
3) At this moment Idea popups modal dialog, title is:
"Terminating Tomcat"
"Waiting for VM to detach"

Now, this takes forewer (I beleive it will never go away), only option is to press "cancel" button.

This may not be a big issue, but it is quite irritating.



 All   Comments   Work Log   Change History      Sort Order:
M.J.Milicevic - 20 Jun 05 02:30
Probaly same issue I reported some time ago:
http://www.jetbrains.net/jira/browse/IDEA-2765

Sakke Wiik - 30 Jun 06 15:08
I have the same problem with a local server and #5350.

1.Start Tomcat in run or debug mode.
2.Stop Tomcat.
3.After this clicking X on the left in the Debug-window I get a dialog saying "Terminating x. Waiting for VM detach". This never ends.
4.Now I click cancel and try to quit IDEA. I get a dialog: "Disconnect from the process x?" If I click 'Disconnect', I get the same "Terminating x"- dialog, and it never ends.

This means I cannot even quit IDEA without killing the IDEA-process.

Stopping Tomcat gives the output below. I think it should say INFO: Stopped or similar at the end:
30.6.2006 13:51:51 org.apache.coyote.http11.Http11AprProtocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
30.6.2006 13:51:51 org.apache.coyote.ajp.AjpAprProtocol destroy
INFO: Stopping Coyote AJP/1.3 on ajp-8009

Some log when Starting Tomcat:
cmd /c D:\java\server\tomcat-5.5.13-beta\bin\catalina.bat run
Using CATALINA_BASE: E:\idea60\system\tomcat_Monitor_f88339be
Using CATALINA_HOME: D:\java\server\tomcat-5.5.13-beta
Using CATALINA_TMPDIR: D:\java\server\tomcat-5.5.13-beta\temp
Using JAVA_HOME: D:\java\jdk\jdk1.5.0_03


satish g - 04 Feb 08 20:05
I am having similar issues with intellij 7.0.2 while doing remote debugging with websphere 6.1 (RAD) . Almost every time, as I am stepping through the code , intellij hangs at "Waiting until last debugger command completes", and if I try to stop the debugging, I get the message "waiting for vm detach " which never goes away. If I hit cancel, the message box goes away, but the remote jvm is unresponsive at that point, and I have to kill the remote jvm process. I used the remote debugging all the time with the previous version of intellij and with WSAD 5.1 and it worked like a charm always, but with this combination it just keeps hanging every single time. Is this something that could be an issue with intellij 7x ?