| Index: test/mjsunit/debug-step.js
|
| ===================================================================
|
| --- test/mjsunit/debug-step.js (revision 4816)
|
| +++ test/mjsunit/debug-step.js (working copy)
|
| @@ -55,8 +55,9 @@
|
|
|
| // Test debug event for break point.
|
| function f() {
|
| - for (i = 0; i < 1000; i++) { // Line 1.
|
| - x = 1; // Line 2.
|
| + var i; // Line 1.
|
| + for (i = 0; i < 1000; i++) { // Line 2.
|
| + x = 1; // Line 3.
|
| }
|
| };
|
|
|
| @@ -74,7 +75,7 @@
|
| // multiple steps have been requested.
|
| state = 0;
|
| result = -1;
|
| -bp2 = Debug.setBreakPoint(f, 2);
|
| +bp2 = Debug.setBreakPoint(f, 3);
|
| f();
|
| assertEquals(0, result);
|
|
|
|
|