An Online Debugging Tool for Rust-based Operating Systems
summary
Interactive kernel debugger for the rCore Rust kernel that wires a VS Code front-end to a GDB back-end, runs in web VS Code (and desktop), and automates compiling and loading the OS image into an emulator. It implements breakpoint groups that switch when privilege changes so kernel and multiple user programs breakpoints work reliably, exposes registers/memory and raw GDB commands, and works today despite GDB/RISC‑V limitations; development takes about six months so far and source code is on GitHub.
AI-written summary · about
chapters (11)
- 0:00Intro
- 0:22Background and Goals
- 2:09Online debugging system
- 3:03Features
- 5:06Design and implementation
- 6:28Avoid code optimization, preserve debug symbol Information
- 7:07Support GDB debugging via VSCode
- 7:49Resolve breakpoint conflicts in kernel and user programs
- 8:34Breakpoint Group Management Module
- 9:24Breakpoint group switch
- 10:33Current limitations and future work
