-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[wasm][debugger] Fix debugging blazor app after ts changes. #60873
[wasm][debugger] Fix debugging blazor app after ts changes. #60873
Conversation
Tagging subscribers to this area: @thaystg Issue DetailsWhen running a blazor app, blazor that fills variable MONO.loaded_files. With the latest changes to typescript we were ignoring the content of variable that was set from blazor.
|
Let's get rid of |
We can and should reexamine the file loading across everything at some point but using MONO.loaded_files makes sense for now. |
|
Tagging subscribers to 'arch-wasm': @lewing Issue DetailsWhen running a blazor app, blazor that fills variable MONO.loaded_files. With the latest changes to typescript we were ignoring the content of variable that was set from blazor.
|
Seeing this in https://helixre8s23ayyeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-60873-merge-5cfd3d45ea58416da1/Common.Tests/1/console.b40067f3.log?sv=2019-07-07&se=2021-11-16T13%3A26%3A33Z&sr=c&sp=rl&sig=MB0zNvUuSoiguFObH90liBpMLoC281X659YLQoAEqVE%3D, and other tests. |
@lewing, can we merge? I think that the errors on CI are unrelated to my change. |
RuntimeTests: Wasm.Build.Tests also |
thanks @radical I'll investigate then! |
|
@pavelsavara , I know that you told me to not import |
There are 2 objects perceived as
I pushed change in which
Let's see if that works in CI. |
…iles - disable too agresive Terser minification Co-authored-by: Thays <thaystg@gmail.com>
1be94aa
to
b25cc33
Compare
For anybody interested, the undefined |
Release version of the runtime can't be debugged at the moment. It's also caused by the Terser clash. |
The Release runtime is what we ship so what is the plan? |
Pavel and I investigated it all the morning for me, and he will continue working on it on monday. We will find a solution. |
…this case: case "mono_wasm_fire_debugger_agent_message": case "_mono_wasm_fire_debugger_agent_message":
I pushed another commit in this PR.
Using this PR the debugger tests are working using runtime on release and also a Blazor app can be debugged using runtime on release. |
I was wrong, this is stack walk and so the function name needs to stay un-mangled. |
As far as I understood you will try to find another solution for the other things, so I think you can do this change to internal together, once you do I can run the debugger-tests again and test the blazor app again. |
* Fix for #60340 * Fixes element access for a constant index. * Undo changes made based on #60873, that were not intended to be commited. * Removed whitespaces. * Fixed element access by local variables, added tests for element access by object member variables. * Element access by indexing with simple object members is fixed. * Nested element access is fixed, e.g. a[a[a[0]]]. * Added tests for nested element access. Reverted an unintentional change in EvaluateSimpleMethodCallsCheckChangedValue test. * Change test name to enable running test batch on calling ".EvaluateExpressionsWithElementAccess" prefix. * Fix ElementAccessByMemberVariables that was failing after previous changes. * Removed unused namespace import. Regexes are not needed in the new approach. * Added implementatio of evaluation for multidimentional indexing.
When running a blazor app, blazor that fills variable MONO.loaded_files. With the latest changes to typescript we were ignoring the content of variable that was set from blazor.