Skip to content

[wasm][debugger][tests] Possible race condition seen in DebuggerTests.BreakpointTests.JSConditionalBreakpoint #69144

Closed
@radical

Description

@radical

Log:

  Failed DebuggerTests.BreakpointTests.JSConditionalBreakpoint(condition: "0.0", line_bp: 79, column_bp: 3, line_expected: 80, column_expected: 11) [52 ms]
  Error Message:
   System.IndexOutOfRangeException : Index was outside the bounds of the array.
  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.Inspector.WaitFor(String what) in /_/src/mono/wasm/debugger/DebuggerTestSuite/Inspector.cs:line 82
   at DebuggerTests.DebuggerTestBase.WaitFor(String what) in /_/src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 222
   at DebuggerTests.DebuggerTestBase.SendCommandAndCheck(JObject args, String method, String script_loc, Int32 line, Int32 column, String function_name, Func`2 wait_for_event_fn, Func`2 locals_fn, String waitForEvent) in /_/src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 549
   at DebuggerTests.DebuggerTestBase.EvaluateAndCheck(String expression, String script_loc, Int32 line, Int32 column, String function_name, Func`2 wait_for_event_fn, Func`2 locals_fn) in /_/src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 533
   at DebuggerTests.BreakpointTests.JSConditionalBreakpoint(String condition, Int32 line_bp, Int32 column_bp, Int32 line_expected, Int32 column_expected) in /_/src/mono/wasm/debugger/DebuggerTestSuite/BreakpointTests.cs:line 232
--- End of stack trace from previous location ---

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions