You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[wasm][debugger] Crash/assert when stepping out from an async method #41973
I changed aspnetcore's StandaloneApp's Counter.razor to:
@code{staticHttpClientclient=newHttpClient();intcurrentCount=0;asyncTaskIncrementCount(){currentCount++;awaitJustWaitAsync("foobar");}asyncTask<HttpStatusCode>JustWaitAsync(stringsome){varresp=awaitclient.GetAsync("http://localhost:8080");Console.WriteLine($"resp: {resp}");/// BP at this linereturnresp.StatusCode;}}
I set a breakpoint at CWL after GetAsync. Once that is hit, then I hit step-over twice, to step over the closing brace for JustWaitAsync, and then I get: : /Users/radical/dev/runtime/src/mono/mono/mini/mini-wasm-debugger.c:248 <disabled>
.. which corresponds to g_error ("set_set_notification_for_wait_completion_flag");
Activity
radical commentedon Sep 8, 2020
/cc @lewing @thaystg
thaystg commentedon Sep 8, 2020
Working on it! :)
[wasm][debugger] Move some functions from debugger-agent to debugger-…
[wasm][debugger] Move some functions from debugger-agent to debugger-…