# Meta gives LLDB a plugin architecture to debug CPUs and GPUs in one session

Original title: Extending LLDB to Debug Applications That Span CPUs and GPUs

> Hacker News story 50448432 · language: en · submitted 2026-11-11
> Web version: https://zeli.app/story/50448432
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 34 · by [JDevlieghere](<https://news.ycombinator.com/user?id=JDevlieghere>) · 💬 6
[original](<https://engineering.fb.com/2026/11/09/developer-tools/extending-lldb-to-debug-applications-that-span-cpus-and-gpus/>) · [HN discussion](<https://news.ycombinator.com/item?id=50448432>)

## Summary

Meta has built a vendor-neutral accelerator plugin architecture into lldb-server, so a CPU and a GPU appear as two separate LLDB targets inside a single debugging session. Each keeps its own architecture, registers, and address space, while a hardware-specific plugin translates vendor APIs into concepts LLDB already understands. Most of the common framework is already upstreamed to LLVM, and a mock plugin lets the test suite verify the flow without real hardware.

## Key quote

> Our goal is that integrating new hardware with LLDB should require only a vendor-specific plugin, not a separate debugger to build and maintain.

## HN discussion (6 comments)

### [djmips](<https://news.ycombinator.com/item?id=50495211>)

> I wrote a spiritual ancestor that worked under soft ice in the mod nineties to debug the CPU and GPU in one session. I love to see it.

### [henrymerrilees](<https://news.ycombinator.com/item?id=50495169>)

> Very cool! When I was working through the Mojo puzzles, I found it a bit ironic that I had to use CUDA-gdb.

### [saagarjha](<https://news.ycombinator.com/item?id=50495646>)

> Neat! But…is Nvidia going to support it?

---

## Cite

- Page: https://zeli.app/story/50448432
- Date: 2026-11-11
- Source: engineering.fb.com (https://engineering.fb.com/2026/11/09/developer-tools/extending-lldb-to-debug-applications-that-span-cpus-and-gpus/)
- Hacker News: https://news.ycombinator.com/item?id=50448432

## Other languages

- zh: https://zeli.app/zh/story/50448432 · markdown: https://zeli.app/zh/story/50448432.md
- ja: https://zeli.app/ja/story/50448432 · markdown: https://zeli.app/ja/story/50448432.md
- ko: https://zeli.app/ko/story/50448432 · markdown: https://zeli.app/ko/story/50448432.md
- de: https://zeli.app/de/story/50448432 · markdown: https://zeli.app/de/story/50448432.md
- es: https://zeli.app/es/story/50448432 · markdown: https://zeli.app/es/story/50448432.md
- ru: https://zeli.app/ru/story/50448432 · markdown: https://zeli.app/ru/story/50448432.md
