Zero Install Embedded CC++ Development Running GDB in the Browser with WebAssembly
summary
Claim: a full GDB-based embedded debug stack runs inside the browser so users get true zero‑install debugging. Implementation uses GDB compiled to WebAssembly via Emscripten, moves the debug adapter into the browser (TypeScript), adds a target remote ws:// mode plus webify for TCP bridging, and exposes hardware with WebUSB direct board access. A lightweight runtime — the web kernel with IO buffers, RPC via web workers and shared array buffers — bridges synchronous C/C++ code and asynchronous browser APIs. Chromium-only WebUSB and occasional extra latency remain.
AI-written summary · about
chapters (13)
- 0:00Zero install embedded C++
- 1:47IDE setup versus zero install
- 3:54Cloud IDE for debugging
- 8:52Cloud to local debug stack
- 11:05Less machine installs
- 15:04Debug adapter in browser
- 16:50GDB in browser with WASM
- 22:13Zero install with WebUSB
- 24:00Synchronous WASM via Web Kernel
- 26:29Zero install benefits
- 28:37Browser limits and cross-platform
- 29:42Live debug demo
- 30:03Conclusion and future
related talks
09mDebugging WebAssembly with modern tools
52mWebAssembly: Taking Your C++ and Going Places
24mNo More Printf: Interactive Debugging Wasm for web and server
35mWebAssembly: now web is a new compiler target architecture
44mWebAssembly: the browser is now a real virtual machine
44mLevel-Up Embedded Development with WebAssembly
13mWebAssembly Debugging Demystified
39mBringing the power of C++ to the web
