Closed
Description
[xUnit.net 00:08:09.53] DebuggerTests.CallFunctionOnTests.RunOnInvalidCfoId(eval_fn: "negative_cfo_test ();", bp_loc: "/other.js", line: 64, col: 1, use_cfo: False) [FAIL]
Detected a container, disabling sandboxing for debugger tests.
Failed DebuggerTests.CallFunctionOnTests.RunOnInvalidCfoId(eval_fn: "negative_cfo_test ();", bp_loc: "/other.js", line: 64, col: 1, use_cfo: False) [1 ms]
Error Message:
System.AggregateException : One or more errors occurred. (Index was outside the bounds of the array.)
---- System.IndexOutOfRangeException : Index was outside the bounds of the array.
Stack Trace:
at DebuggerTests.Inspector.OpenSessionAsync(Func`3 getInitCmds, String urlToInspect, TimeSpan span) in /_/src/mono/wasm/debugger/DebuggerTestSuite/Inspector.cs:line 377
at DebuggerTests.DebuggerTestBase.InitializeAsync() in /_/src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 173
----- Inner Stack Trace -----
at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
at System.Collections.Generic.Dictionary`2.set_Item(TKey key, TValue value)
at DebuggerTests.InspectorClient.SendCommand(SessionId sessionId, String method, JObject args, CancellationToken token) in /_/src/mono/wasm/debugger/DebuggerTestSuite/InspectorClient.cs:line 98
at DebuggerTests.Inspector.OnMessage(String sessionId, String method, JObject args, CancellationToken token) in /_/src/mono/wasm/debugger/DebuggerTestSuite/Inspector.cs:line 219
Standard Output Messages:
...
[2023-06-08T20:02:59] Inspector-67 Error: _isFailingWithException. System.AggregateException: One or more errors occurred. (Index was outside the bounds of the array.)
| ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
| at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
| at System.Collections.Generic.Dictionary`2.set_Item(TKey key, TValue value)
| at DebuggerTests.InspectorClient.SendCommand(SessionId sessionId, String method, JObject args, CancellationToken token) in /_/src/mono/wasm/debugger/DebuggerTestSuite/InspectorClient.cs:line 98
| at DebuggerTests.Inspector.OnMessage(String sessionId, String method, JObject args, CancellationToken token) in /_/src/mono/wasm/debugger/DebuggerTestSuite/Inspector.cs:line 219
| --- End of inner exception stack trace ---
| at DebuggerTests.Inspector.OnMessage(String sessionId, String method, JObject args, CancellationToken token) in /_/src/mono/wasm/debugger/DebuggerTestSuite/Inspector.cs:line 220
| at DebuggerTests.Inspector.OnMessage(String sessionId, String method, JObject args, CancellationToken token) in /_/src/mono/wasm/debugger/DebuggerTestSuite/Inspector.cs:line 219
| at DebuggerTests.Inspector.OnMessage(String sessionId, String method, JObject args, CancellationToken token) in /_/src/mono/wasm/debugger/DebuggerTestSuite/Inspector.cs:line 220
| at DebuggerTests.Inspector.OnMessage(String sessionId, String method, JObject args, CancellationToken token) in /_/src/mono/wasm/debugger/DebuggerTestSuite/Inspector.cs:line 223
| at DebuggerTests.Inspector.OnMessage(String sessionId, String method, JObject args, CancellationToken token) in /_/src/mono/wasm/debugger/DebuggerTestSuite/Inspector.cs:line 221
| at DebuggerTests.Inspector.<OpenSessionAsync>b__40_1() in /_/src/mono/wasm/debugger/DebuggerTestSuite/Inspector.cs:line 362.