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 "Andi Vajda (JIRA)" <ji...@apache.org> on 2012/06/26 04:33:43 UTC
[jira] [Resolved] (PYLUCENE-19) Unable to launch jvm with remote
debugging enabled.
[ 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