You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pylucene-dev@lucene.apache.org by "Patrick J. McNerthney (JIRA)" <ji...@apache.org> on 2012/06/25 19:29:44 UTC

[jira] [Created] (PYLUCENE-19) Unable to launch jvm with remote debugging enabled.

Patrick J. McNerthney created PYLUCENE-19:
---------------------------------------------

             Summary: Unable to launch jvm with remote debugging enabled.
                 Key: PYLUCENE-19
                 URL: https://issues.apache.org/jira/browse/PYLUCENE-19
             Project: PyLucene
          Issue Type: Bug
            Reporter: Patrick J. McNerthney
            Priority: Minor


To enable remote debugging of the embedded jvm, the following -agentlib vm argument enables remote debugging of the embedded jvm:

    -agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=y

If this is passed to the initVM call like so:

    initVM(vmargs='-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=y')

initVM uses the comma as the separator between vm arguments, causing the above attempt to do remote debugging to fail to launch the vm.

Please change the separator be changed to something that supports the -agentlib argument syntax.  My suggestion is to use the pipe "|" character.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (PYLUCENE-19) Unable to launch jvm with remote debugging enabled.

Posted by "Andi Vajda (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PYLUCENE-19?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13400860#comment-13400860 ] 

Andi Vajda commented on PYLUCENE-19:
------------------------------------

Aargh, three levels of nesting parameters. And they all want to use ,.
I'll change the code to parse \, into , thus letting everyone use commas.
Changing , into | would break everyone using , currently.

                
> Unable to launch jvm with remote debugging enabled.
> ---------------------------------------------------
>
>                 Key: PYLUCENE-19
>                 URL: https://issues.apache.org/jira/browse/PYLUCENE-19
>             Project: PyLucene
>          Issue Type: Bug
>            Reporter: Patrick J. McNerthney
>            Priority: Minor
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> To enable remote debugging of the embedded jvm, the following -agentlib vm argument enables remote debugging of the embedded jvm:
>     -agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=y
> If this is passed to the initVM call like so:
>     initVM(vmargs='-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=y')
> initVM uses the comma as the separator between vm arguments, causing the above attempt to do remote debugging to fail to launch the vm.
> Please change the separator be changed to something that supports the -agentlib argument syntax.  My suggestion is to use the pipe "|" character.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (PYLUCENE-19) Unable to launch jvm with remote debugging enabled.

Posted by "Patrick J. McNerthney (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PYLUCENE-19?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13401123#comment-13401123 ] 

Patrick J. McNerthney commented on PYLUCENE-19:
-----------------------------------------------

Excellent!  I like works even better for me.  Thank you very much!
                
> Unable to launch jvm with remote debugging enabled.
> ---------------------------------------------------
>
>                 Key: PYLUCENE-19
>                 URL: https://issues.apache.org/jira/browse/PYLUCENE-19
>             Project: PyLucene
>          Issue Type: Bug
>            Reporter: Patrick J. McNerthney
>            Priority: Minor
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> To enable remote debugging of the embedded jvm, the following -agentlib vm argument enables remote debugging of the embedded jvm:
>     -agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=y
> If this is passed to the initVM call like so:
>     initVM(vmargs='-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=y')
> initVM uses the comma as the separator between vm arguments, causing the above attempt to do remote debugging to fail to launch the vm.
> Please change the separator be changed to something that supports the -agentlib argument syntax.  My suggestion is to use the pipe "|" character.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (PYLUCENE-19) Unable to launch jvm with remote debugging enabled.

Posted by "Andi Vajda (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PYLUCENE-19?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andi Vajda resolved PYLUCENE-19.
--------------------------------

    Resolution: Fixed

No messing around with\. This is python damn'it. I made it possible to also pass in a non-string sequence (list, tuple) for vmargs besides a string. If a sequence (but not a string) is used then no parsing for commas is done, each argument string in the sequence is passed as-is to JNI_CreateJavaVM().

For example: initVM(vmargs=['-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=y'])

Fix is in rev 1353805.
                
> Unable to launch jvm with remote debugging enabled.
> ---------------------------------------------------
>
>                 Key: PYLUCENE-19
>                 URL: https://issues.apache.org/jira/browse/PYLUCENE-19
>             Project: PyLucene
>          Issue Type: Bug
>            Reporter: Patrick J. McNerthney
>            Priority: Minor
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> To enable remote debugging of the embedded jvm, the following -agentlib vm argument enables remote debugging of the embedded jvm:
>     -agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=y
> If this is passed to the initVM call like so:
>     initVM(vmargs='-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=y')
> initVM uses the comma as the separator between vm arguments, causing the above attempt to do remote debugging to fail to launch the vm.
> Please change the separator be changed to something that supports the -agentlib argument syntax.  My suggestion is to use the pipe "|" character.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira