diff --git a/test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/frameCount/framecount001.java b/test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/frameCount/framecount001.java index d55af33192b..45c9960475c 100644 --- a/test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/frameCount/framecount001.java +++ b/test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/frameCount/framecount001.java @@ -350,7 +350,7 @@ private int runThis (String argv[], PrintStream out) { log2(" the thread2 is at first breakpoint in 'runt1'"); log2(" checking up that frameCount has been incremented"); if (frameCount1 != (frameCount + 1) ) { - log3("ERROR: case 0: frameCount1 != (frameCount + 1) : " + frameCount1 ); + log3("ERROR: case 0: frameCount1 != (frameCount + 1) : " + frameCount1 + ", " + frameCount ); expresult = returnCode1; } if (expresult == returnCode0) { @@ -363,7 +363,7 @@ private int runThis (String argv[], PrintStream out) { log2(" the thread2 is at first breakpoint in 'runt2'"); log2(" checking up that frameCount has been incremented one more time"); if (frameCount1 != (frameCount + 2) ) { - log3("ERROR: case 1: frameCount1 != (frameCount + 2) : " + frameCount1 ); + log3("ERROR: case 1: frameCount1 != (frameCount + 2) : " + frameCount1 + ", " + frameCount ); expresult = returnCode1; } if (expresult == returnCode0) { @@ -376,7 +376,7 @@ private int runThis (String argv[], PrintStream out) { log2(" the thread2 is at second breakpoint in 'runt1'"); log2(" checking up that frameCount has been decremented"); if (frameCount1 != (frameCount + 1) ) { - log3("ERROR: case 2: frameCount1 != (frameCount + 1) : " + frameCount1 ); + log3("ERROR: case 2: frameCount1 != (frameCount + 1) : " + frameCount1 + ", " + frameCount ); expresult = returnCode1; } break; @@ -454,6 +454,7 @@ private BreakpointRequest settingBreakpoint ( String methodName, log3("ERROR: TEST_ERROR_IN_settingBreakpoint(): number is out of bound of method's lines"); } else { lineLocation = (Location) alllineLocations.get(n); + log2("setting breakpoint: '" + methodName + "' at line " + lineLocation.lineNumber() ); try { breakpRequest = eventRManager.createBreakpointRequest(lineLocation); breakpRequest.putProperty("number", property);