Test stopped using breakpoint NORMAL RUN: Single call with no interference on (ID: 0) StandardTestObject { cnt: 0 } NORMAL RUN: result for (ID: 0) StandardTestObject { cnt: 2 } is 1 Single call with force-early-return on (ID: 1) StandardTestObject { cnt: 0 } Will force return of 987000 result for (ID: 1) StandardTestObject { cnt: 1 } is 987000 Test stopped using breakpoint with declared synchronized function NORMAL RUN: Single call with no interference on (ID: 2) SynchronizedFunctionTestObject { cnt: 0 } NORMAL RUN: result for (ID: 2) SynchronizedFunctionTestObject { cnt: 2 } is 1 Single call with force-early-return on (ID: 3) SynchronizedFunctionTestObject { cnt: 0 } Will force return of 987001 result for (ID: 3) SynchronizedFunctionTestObject { cnt: 1 } is 987001 Test stopped using breakpoint with synchronized block NORMAL RUN: Single call with no interference on (ID: 4) SynchronizedTestObject { cnt: 0 } NORMAL RUN: result for (ID: 4) SynchronizedTestObject { cnt: 2 } is 1 Single call with force-early-return on (ID: 5) SynchronizedTestObject { cnt: 0 } Will force return of 987002 result for (ID: 5) SynchronizedTestObject { cnt: 1 } is 987002 Test stopped on single step NORMAL RUN: Single call with no interference on (ID: 6) StandardTestObject { cnt: 0 } NORMAL RUN: result for (ID: 6) StandardTestObject { cnt: 2 } is 1 Single call with force-early-return on (ID: 7) StandardTestObject { cnt: 0 } Will force return of 987003 result for (ID: 7) StandardTestObject { cnt: 1 } is 987003 Test stopped on field access NORMAL RUN: Single call with no interference on (ID: 8) FieldBasedTestObject { TARGET_FIELD: 0 } NORMAL RUN: result for (ID: 8) FieldBasedTestObject { TARGET_FIELD: 10 } is 10 Single call with force-early-return on (ID: 9) FieldBasedTestObject { TARGET_FIELD: 0 } Will force return of 987004 result for (ID: 9) FieldBasedTestObject { TARGET_FIELD: 0 } is 987004 Test stopped on field modification NORMAL RUN: Single call with no interference on (ID: 10) FieldBasedTestObject { TARGET_FIELD: 0 } NORMAL RUN: result for (ID: 10) FieldBasedTestObject { TARGET_FIELD: 10 } is 10 Single call with force-early-return on (ID: 11) FieldBasedTestObject { TARGET_FIELD: 0 } Will force return of 987005 result for (ID: 11) FieldBasedTestObject { TARGET_FIELD: 0 } is 987005 Test stopped during Method Exit of calledFunction NORMAL RUN: Single call with no interference on (ID: 12) StandardTestObject { cnt: 0 } NORMAL RUN: result for (ID: 12) StandardTestObject { cnt: 2 } is 1 Single call with force-early-return on (ID: 13) StandardTestObject { cnt: 0 } Will force return of 987006 result for (ID: 13) StandardTestObject { cnt: 2 } is 987006 Test stopped during Method Enter of calledFunction NORMAL RUN: Single call with no interference on (ID: 14) StandardTestObject { cnt: 0 } NORMAL RUN: result for (ID: 14) StandardTestObject { cnt: 2 } is 1 Single call with force-early-return on (ID: 15) StandardTestObject { cnt: 0 } Will force return of 987007 result for (ID: 15) StandardTestObject { cnt: 0 } is 987007 Test stopped during Method Exit due to exception thrown in same function NORMAL RUN: Single call with no interference on (ID: 16) ExceptionOnceObject { cnt: 0, throwInSub: false } Uncaught exception in thread Thread[Test1970 target thread - 16,5,main] - art.Test1970$ExceptionOnceObject$TestError: null art.Test1970$ExceptionOnceObject.calledFunction(Test1970.java) art.Test1970$AbstractTestObject.run(Test1970.java) art.Test1970$2.run(Test1970.java) java.lang.Thread.run(Thread.java) NORMAL RUN: result for (ID: 16) ExceptionOnceObject { cnt: 1, throwInSub: false } is 0 Single call with force-early-return on (ID: 17) ExceptionOnceObject { cnt: 0, throwInSub: false } Will force return of 987008 result for (ID: 17) ExceptionOnceObject { cnt: 1, throwInSub: false } is 987008 Test stopped during Method Exit due to exception thrown in subroutine NORMAL RUN: Single call with no interference on (ID: 18) ExceptionOnceObject { cnt: 0, throwInSub: true } Uncaught exception in thread Thread[Test1970 target thread - 18,5,main] - art.Test1970$ExceptionOnceObject$TestError: null art.Test1970$ExceptionOnceObject.doThrow(Test1970.java) art.Test1970$ExceptionOnceObject.calledFunction(Test1970.java) art.Test1970$AbstractTestObject.run(Test1970.java) art.Test1970$2.run(Test1970.java) java.lang.Thread.run(Thread.java) NORMAL RUN: result for (ID: 18) ExceptionOnceObject { cnt: 1, throwInSub: true } is 0 Single call with force-early-return on (ID: 19) ExceptionOnceObject { cnt: 0, throwInSub: true } Will force return of 987009 result for (ID: 19) ExceptionOnceObject { cnt: 1, throwInSub: true } is 987009 Test stopped during notifyFramePop with exception on pop of calledFunction NORMAL RUN: Single call with no interference on (ID: 20) ExceptionThrowTestObject { cnt: 0, baseCnt: 0 } art.Test1970$ExceptionThrowTestObject$TestError thrown and caught! NORMAL RUN: result for (ID: 20) ExceptionThrowTestObject { cnt: 2, baseCnt: 2 } is 0 Single call with force-early-return on (ID: 21) ExceptionThrowTestObject { cnt: 0, baseCnt: 0 } Will force return of 987010 result for (ID: 21) ExceptionThrowTestObject { cnt: 2, baseCnt: 2 } is 987010 Test stopped during notifyFramePop with exception on pop of doThrow NORMAL RUN: Single call with no interference on (ID: 22) ExceptionCatchTestObject { cnt: 0 } art.Test1970$ExceptionCatchTestObject$TestError caught in called function. NORMAL RUN: result for (ID: 22) ExceptionCatchTestObject { cnt: 2 } is 1 Single call with force-early-return on (ID: 23) ExceptionCatchTestObject { cnt: 0 } Will force return of 987011 Failed to force-return due to java.lang.RuntimeException: JVMTI_ERROR_TYPE_MISMATCH art.NonStandardExit.forceEarlyReturnLong(Native Method) art.NonStandardExit.forceEarlyReturn(NonStandardExit.java) art.Test1970$TestSuspender.performForceReturn(Test1970.java) art.Test1970.runTestOn(Test1970.java) art.Test1970.runTestOn(Test1970.java) art.Test1970.runTestOn(Test1970.java) art.Test1970.runTests(Test1970.java)