diff --git a/src/mono/mono/mini/debugger-engine.c b/src/mono/mono/mini/debugger-engine.c index c5964e0205342d..a028ff831742b0 100644 --- a/src/mono/mono/mini/debugger-engine.c +++ b/src/mono/mono/mini/debugger-engine.c @@ -1323,8 +1323,11 @@ mono_de_ss_start (SingleStepReq *ss_req, SingleStepArgs *ss_args) } else { frame_index = 1; +#ifndef TARGET_WASM if (ss_args->ctx && !frames) { - +#else + if (!frames) { +#endif mono_loader_lock (); locked = TRUE; diff --git a/src/mono/wasm/debugger/DebuggerTestSuite/SteppingTests.cs b/src/mono/wasm/debugger/DebuggerTestSuite/SteppingTests.cs index 16cfe821c09074..e517b6daf155ad 100644 --- a/src/mono/wasm/debugger/DebuggerTestSuite/SteppingTests.cs +++ b/src/mono/wasm/debugger/DebuggerTestSuite/SteppingTests.cs @@ -903,8 +903,7 @@ await EvaluateAndCheck( }); } - // [Fact] - // [ActiveIssue("https://github.com/dotnet/runtime/issues/42424")] + [Fact] public async Task BreakOnAwaitThenStepOverToNextAwaitCall() { var insp = new Inspector(); @@ -927,8 +926,7 @@ await EvaluateAndCheck( }); } - // [Fact] - // [ActiveIssue("https://github.com/dotnet/runtime/issues/42424")] + [Fact] public async Task BreakOnAwaitThenStepOverToNextLine() { var insp = new Inspector();