blob: b5e596ed05ceb025360a2d622e638e183c2bffa5 [file]
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//-------------------------------------------------------------------------------------------------------
// Validation of the bug 594173. Calling eval in the debug eval raises the onAddChild to debugger which leads to hang.
function foo() {
var i = 30;
i++; /**bp:evaluate("var k = i; eval('k')")**/
}
foo();
WScript.Echo("Pass");