| Index: test/debugger/debug/debug-stepin-call-function-stub.js
|
| diff --git a/test/mjsunit/debug-stepin-call-function-stub.js b/test/debugger/debug/debug-stepin-call-function-stub.js
|
| similarity index 95%
|
| rename from test/mjsunit/debug-stepin-call-function-stub.js
|
| rename to test/debugger/debug/debug-stepin-call-function-stub.js
|
| index b3e385bfb5dace219f0f41ba9b0567088691c8c9..092f2da15105c93e280c6b10cb815bc579d735f2 100644
|
| --- a/test/mjsunit/debug-stepin-call-function-stub.js
|
| +++ b/test/debugger/debug/debug-stepin-call-function-stub.js
|
| @@ -25,8 +25,6 @@
|
| // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
| -// Flags: --expose-debug-as debug
|
| -// Get the Debug object exposed from the debug context global object.
|
| Debug = debug.Debug
|
|
|
| var exception = null;
|
| @@ -88,8 +86,9 @@ for (var i = 0; i < 3; i++) {
|
| expected_source_line_text = ' return "s"; // expected line';
|
| step_in_count = 2;
|
| // Set a break point and call to invoke the debug event listener.
|
| - Debug.setBreakPoint(testFunction, 1, 0);
|
| + const breakid = Debug.setBreakPoint(testFunction, 1, 0);
|
| testFunction();
|
| + Debug.clearBreakPoint(breakid);
|
| assertNull(exception);
|
| assertEquals(3, state);
|
| }
|
| @@ -104,8 +103,9 @@ for (var i = 0; i < 3; i++) {
|
| expected_source_line_text = ' return "s2"; // expected line';
|
| step_in_count = 1;
|
| // Set a break point and call to invoke the debug event listener.
|
| - Debug.setBreakPoint(testFunction2, 2, 0);
|
| + const breakid = Debug.setBreakPoint(testFunction2, 2, 0);
|
| testFunction2();
|
| + Debug.clearBreakPoint(breakid);
|
| assertNull(exception);
|
| assertEquals(3, state);
|
| }
|
|
|