9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23
24 /**
25 * @test
26 * @bug 4270488 4787861
27 * @author Gordon Hirsch
28 *
29 * @modules jdk.jdi
30 * @run build TestScaffold VMConnection TargetAdapter TargetListener
31 * @run compile -g MethodCalls.java
32 * @run compile -g MethodCallsReflection.java
33 * @run compile -g ControlFlow.java
34 * @run build StepTest
35 *
36 * @summary StepTest starts at a method named "go()" in the debuggee and
37 * repetitively steps. It will do a step into until the maximum
38 * stack depth (specified on command line) is reached. At that point
39 * it begins to step over. Step granularity is determined from the
40 * command line. Stepping is repeated the until the end of go() is reached
41 * or until the requested number of steps (specified on command line)
42 * is performed. An exception is thrown if the requested number of
43 * steps does not result in the debuggee's location being at the end of
44 * go().
45 * This test is sensitive to the line number info generated by the compiler
46 * for the debuggee files- MethodCalls.java, ...
47 * See LineNumberInfo.java for more info.
48 *
49 * +--- maximum stack depth in debuggee
|
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23
24 /**
25 * @test
26 * @bug 4270488 4787861
27 * @author Gordon Hirsch
28 *
29 * @run build TestScaffold VMConnection TargetAdapter TargetListener
30 * @run compile -g MethodCalls.java
31 * @run compile -g MethodCallsReflection.java
32 * @run compile -g ControlFlow.java
33 * @run build StepTest
34 *
35 * @summary StepTest starts at a method named "go()" in the debuggee and
36 * repetitively steps. It will do a step into until the maximum
37 * stack depth (specified on command line) is reached. At that point
38 * it begins to step over. Step granularity is determined from the
39 * command line. Stepping is repeated the until the end of go() is reached
40 * or until the requested number of steps (specified on command line)
41 * is performed. An exception is thrown if the requested number of
42 * steps does not result in the debuggee's location being at the end of
43 * go().
44 * This test is sensitive to the line number info generated by the compiler
45 * for the debuggee files- MethodCalls.java, ...
46 * See LineNumberInfo.java for more info.
47 *
48 * +--- maximum stack depth in debuggee
|