~/talk

Hidden Difficulties of Debugger Implementation for .NET WASM Apps

Talkat JetBrains .NET Day Online 2023 · on Tuesday, 2023-09-26· [dotnet, web-platform]
slides:none on file

Rider implements Blazor WASM debugging by running a Debug Proxy that mediates between the Chromium tab and the Mono-based runtime using the Chrome DevTools Protocol over a WebSocket; breakpoints are queued and sent before the runtime loads to avoid race conditions, a placeholder page delays user code execution, and CDP payloads use ordered request IDs and sessions. A small codegen SDK generates CDP domain bindings from JSON. Hot-reload is limited to tiny deltas (line-level method edits) under the Edit-and-Continue flow; full restarts remain necessary for larger changes.

AI-written summary · about

  1. 0:00Debugging .NET WASM apps
  2. 4:42Anatomy of .NET WASM apps
  3. 13:39Debugging architecture for WASM
  4. 17:51Handshake and protocol setup
  5. 24:35Chrome DevTools Protocol
  6. 28:32CDP client and SDK
  7. 33:31Breakpoints and messages
  8. 36:22Hot reload and edit-continue
  9. 45:38Challenging debugging problems
  10. 55:00Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.