Date
Tuesday, October 27, 2026
Name
Scripted Frame Providers: The Next Layer of LLDB's Extensibility
Session Type
Technical Talk
Abstract

LLDB keeps expanding what you can script. Until now, you could mock processes and threads, implement custom stepping logic, even hide a frame or pick a more interesting one ... but nothing let a script hand back a frame the unwinder never produced. This year, we're enabling scripting at the frame level: ScriptedFrame and ScriptedFrameProvider let a script reshape what a thread reports back, even stacking multiple providers on the same thread like layers in a photo editor. We'll look at what this already unlocks - LLDB's own test suite, debugging AI training frameworks that interleave Python with native code (PyTorch, MLX), C++ coroutines, and SwiftUI's dispatch machinery - plus a couple of thread-safety surprises that came with letting these scripts call back into the debugger mid-construction.

Location Name
Hall of Cities