[jbosstools-issues] [JBoss JIRA] (JBIDE-19409) bug in auto-detecting -Xrunjdwp flags in running jvms

Vlado Pakan (JIRA) issues at jboss.org
Tue Apr 21 11:50:33 EDT 2015


    [ https://issues.jboss.org/browse/JBIDE-19409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13061143#comment-13061143 ] 

Vlado Pakan edited comment on JBIDE-19409 at 4/21/15 11:49 AM:
---------------------------------------------------------------

Testing with JBDS 9.0.0.Alpha2-v20150420-1747-B24.

With these arguments it not possible to run main class:
{noformat}
-Xrunjdwp:address=4000,server=y,transport=dt_socket,suspend=n
{noformat}

This error is displayed in Console View:
{noformat}
ERROR: JDWP address specified without transport: -agentlib:jdwp=address=4000,server=y,transport=dt_socket,suspend=n
{noformat}

Getting the same error with these vm arguments either:
{noformat}
-Xrunjdwp:server=y,address=4000,transport=dt_socket,suspend=n
-Xrunjdwp:suspend=n,address=4000,server=y,transport=dt_socket
{noformat}


was (Author: vpakan):
Testing with JBDS 9.0.0.Alpha2-v20150420-1747-B24.

With these arguments it not possible to run main class:
{noformat}
-Xrunjdwp:address=4000,server=y,transport=dt_socket,suspend=n
{noformat}

This error is displayed in Console View:
{noformat}
ERROR: JDWP address specified without transport: -agentlib:jdwp=address=4000,server=y,transport=dt_socket,suspend=n
{noformat}

> bug in auto-detecting -Xrunjdwp flags in running jvms
> -----------------------------------------------------
>
>                 Key: JBIDE-19409
>                 URL: https://issues.jboss.org/browse/JBIDE-19409
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: common/jst/core
>    Affects Versions: 4.2.3.CR1
>            Reporter: Rob Stryker
>            Assignee: Rob Stryker
>             Fix For: 4.3.0.Alpha2
>
>
> Current code in  org.jboss.tools.common.jdt.debug.VmModel  assumes  the debug args start with -Xrunjdwp:transport  when really it can start with
> -Xrunjdwp:transport=dt_socket,server=y,address=4000,suspend=n
> -Xrunjdwp:address=4000,server=y,transport=dt_socket,suspend=n
> -Xrunjdwp:server=y,address=4000,transport=dt_socket,suspend=n
> -Xrunjdwp:suspend=n,address=4000,server=y,transport=dt_socket



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jbosstools-issues mailing list