You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2006/08/22 23:39:26 UTC

DO NOT REPLY [Bug 40302] New: - Ant Task Junit, with attribute fork set to true, it is not possible to get a VM Thread dump

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40302>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40302

           Summary: Ant Task Junit, with attribute fork set to true, it is
                    not possible to get a VM Thread dump
           Product: Ant
           Version: unspecified
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Optional Tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: david.gleeson@provenco.com


Ant Task Junit, with attribute fork set to true, it is not possible to get a VM
Thread dump

For the command line ant I'd like to be able to send a CTRL BREAK (Windows) or
equiv to the forked vms to see why they have crashed. When I CTRL BREAK I just
see the ant vm doing it thing as expected.

I would like a feature that would allow thread dump of any virtual machine that
ant has forked.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 40302] - Ant Task Junit, with attribute fork set to true, it is not possible to get a VM Thread dump

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40302>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40302


jglick@netbeans.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX




------- Additional Comments From jglick@netbeans.org  2006-08-22 23:12 -------
Ant is just forking a process using Java APIs. If you can't get a thread dump
from that, it is probably something system-specific. Works fine for me on Linux,
where you can use "jps -lm" to identify the hanging test process and "kill -QUIT
<pid>" to send it a thread dump. Or just "killall -QUIT java" to get thread
dumps from everything, as a shortcut.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org