Uh oh!
There was an error while loading. Please reload this page.
[wasm][debugger] Removing console.debug message helper to make debugger work. - #72812
Conversation
ghost
commented
Jul 25, 2022
Tagging subscribers to this area: @thaystg Issue DetailsFor debugging on chrome it was already unused, if we just remove the message and don't change anything else the debugging continues working, using chrome as ide, using visual studio and also visual studio code. also:
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Larry Ewing <lewing@microsoft.com>
| ctx.GlobalName = args["target"]["actor"].Value<string>(); | ||
| ctx.ThreadName = args["target"]["threadActor"].Value<string>(); | ||
| ResetCmdId(); | ||
| if (await IsRuntimeAlreadyReadyAlready(sessionId, token)) |
There was a problem hiding this comment.
funny name IsRuntimeAlreadyReadyAlready :-D
pavelsavara
commented
Jul 27, 2022
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
ghost
commented
Jul 28, 2022
Tagging subscribers to 'arch-wasm': @lewing Issue DetailsFor debugging on chrome it was already unused, if we just remove the message and don't change anything else the debugging continues working, using chrome as ide, using visual studio and also visual studio code. also:
Fixes #63703
|
radical
commented
Jul 28, 2022
just fyi, |
| <script type='text/javascript'> | ||
| var App = { | ||
| init: function () { | ||
| console.debug ("mono_wasm_runtime_ready", "fe00e07a-5519-4dfe-b35a-f867dbaf2e28"); |
There was a problem hiding this comment.
Is something depending on this behavior? if so we should fix it?
thaystg
commented
Jan 4, 2023
/azp run runtime-wasm-non-libtests |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Could you also please delete and runtime/src/mono/wasm/README.md Line 197 in 83ce125 |
pavelsavara
commented
Jan 5, 2023
If we are no longer sending that message, could we also delete runtime/src/mono/wasm/debugger/BrowserDebugProxy/DevToolsHelper.cs Lines 334 to 335 in 83ce125 And runtime/src/mono/wasm/debugger/BrowserDebugProxy/MonoProxy.cs Lines 107 to 127 in 83ce125 I'm bit confused about if it's possible. |
thaystg
commented
Jan 6, 2023
After your comment I tried another approach which is completely removing the message. :) |
thaystg
commented
Jan 6, 2023
/azp run runtime-wasm-non-libtests |
|
Azure Pipelines successfully started running 1 pipeline(s). |
pavelsavara
left a comment
There was a problem hiding this comment.
I guess you tested it manually too?
thaystg
commented
Jan 9, 2023
Yes, I did :) |
thaystg
commented
Jan 9, 2023
@ilonatommy can you double check if I didn't break anything, please? Test it on blazor using VS, using VSCode and using ctrl-shift-d from chrome? |
ilonatommy
commented
Jan 9, 2023
Working. Checked:
|
Uh oh!
There was an error while loading. Please reload this page.
thaystg
commented
Jan 9, 2023
/azp run runtime-wasm-non-libtests |
|
Azure Pipelines successfully started running 1 pipeline(s). |
For debugging on chrome it was already unused, if we just remove the message and don't change anything else the debugging continues working, using chrome as ide, using visual studio and also visual studio code.
On firefox it was using the message, but I changed to have the same behavior that has for chrome.
For the debugger tests I created a new message named DotnetDebugger.runTests which will be called when the page is ready to start running the tests.
also:
Fixes#63703