[wasm][debugger] Removing console.debug message helper to make debugger work.#72812
Conversation
|
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:
|
src/mono/wasm/debugger/tests/debugger-test/debugger-driver.html
Outdated
Show resolved
Hide resolved
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
|
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
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
|
|
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?
|
/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 |
|
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. |
After your comment I tried another approach which is completely removing the message. :) |
|
/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?
Yes, I did :) |
|
@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? |
Working. Checked:
|
src/mono/wasm/debugger/BrowserDebugProxy/Firefox/FirefoxMonoProxy.cs
Outdated
Show resolved
Hide resolved
|
/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