blob: 55b1d84b8a247a63b6150847478bf4f1ac3385d5 [file] [log] [blame]
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//-------------------------------------------------------------------------------------------------------
/**onasyncbreak:evaluate('count');enableBp('A');**/
var count = 0;
while (count++ < 5) {
if (count == 3) {
WScript.RequestAsyncBreak();
}
}
function foo() {
var x = 1;
x = 2; /**loc(A):stack();**/
}
foo();
WScript.Echo("pass");