Open Source .NET Interop Debugger
summary
NetCoreDbg is an open‑source .NET debugger that implements mixed managed+native debugging in one session, using a native-debug component inside the managed debugger so no runtime changes are required. It supports .NET Core >=2.1, supports Linux and arm/arm64/x86/x64, exposes gdb and VS Code protocols and a gdb‑like CLI, tracks native library load/unload, sets native breakpoints (x86/x64) and unwinds mixed stacks, and demos show it actually stops in native code and evaluates expressions including function calls.
AI-written summary · about
chapters (20)
- 0:00Introduction to talk
- 1:49What is a debugger
- 3:15Debugger architecture overview
- 5:21Why netcore dbg was created
- 7:30netcore dbg features and community
- 9:17Expression evaluation in debuggers
- 13:47Expression evaluation architecture
- 21:36Introduction to interop debugging
- 23:20Challenges in interop debugging
- 25:44Approaches to interop debugging
- 32:29Chosen approach for netcore dbg
- 33:32Native breakpoint mechanics
- 36:22Tracking native library loading
- 38:50Live interop debugging demo
- 44:49Enabling interop mode in netcore dbg
- 49:07Comparison with other debuggers
- 51:57Future directions for netcore dbg
- 52:40Key takeaways from the talk
- 53:23Resources and community involvement
- 54:08Q&A session
