[ 
https://issues.apache.org/jira/browse/GEODE-4221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16313759#comment-16313759
 ] 

ASF subversion and git services commented on GEODE-4221:
--------------------------------------------------------

Commit 7e42f33ec639c13e8f644a57183b18896a2668d7 in geode's branch 
refs/heads/develop from [~PivotalSarge]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=7e42f33 ]

GEODE-4221: Restore the ability to access the debugging VM. (#1234)



> Unable to debug non-controller VMs in DUnit tests
> -------------------------------------------------
>
>                 Key: GEODE-4221
>                 URL: https://issues.apache.org/jira/browse/GEODE-4221
>             Project: Geode
>          Issue Type: Bug
>          Components: tests
>            Reporter: Michael Dodge
>            Assignee: Michael Dodge
>
> An easy mechanism for debugging code that would normally run in a 
> non-controller VM in DUnit tests is to temporarily modify the test to pass 
> {{-1}} to {{Host.getVM()}} _instead of_  a non-negative VM ID as would 
> normally be used. Unfortunately, this mechanism now results in a 
> {{java.lang.ArrayIndexOutOfBoundsException}} due to changes for GEODE-3985. 
> {{DUnitLauncher.getVM(int n)}} needs to be modified to restore the use of 
> {{-1}} for debugging.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to