Repository navigation
[wasm][debugger] Fix stepping out from an async method - #42227
Conversation
|
I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label. |
|
IIUC, this is needed as you are fixing issue #41973 . And description to: |
|
Build failing with: |
|
Changed the description and fixed the compilation error. |
|
@lewing should we backport? |
|
re:backport, maybe we should wait till we have the full fix for the issue. |
|
What would be the full fix? The variables that you are working on? |
|
Oh, sorry, I just looked at the issue again. This is the full fix 😬 I thought that this was stuff needed in support of an upcoming fix! |
lewing
left a comment
There was a problem hiding this comment.
This looks good but could use a test.
|
I will add a test, but didn't add yet, because I think that we should merge it fast to be able to merge on RC2. So I was planning to add the test in another PR. |
|
/backport to release/5.0-rc2 |
|
Started backporting to release/5.0-rc2: https://github.com/dotnet/runtime/actions/runs/256100018 |
Adding the test I realized that I need to move one more function.
Adding the test I realized that I need to move one more function. Co-authored-by: thaystg <[email protected]> Co-authored-by: Thays <[email protected]>
…hod (#42263) * Fix assert when calling set_set_notification_for_wait_completion_flag * Fix compilation error. * Merging #42299 to backport together with #42227. Co-authored-by: Thays Grazia <[email protected]>
Stepping out from an async method fails with:
: /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");Move some functions from debugger-agent to debugger-engine, which will make the proper implementation of
set_set_notification_for_wait_completion_flagavailable for use inmini-wasm-debugger.c.Fixes #41973.