MENU

Fun & Interesting

WWDC24: Run, Break, Inspect: Explore effective debugging in LLDB | Apple

Apple Developer 4,394 10 months ago
Video Not Working? Fix It Now

Learn how to use LLDB to explore and debug codebases. We'll show you how to make the most of crashlogs and backtraces, and how to supercharge breakpoints with actions and complex stop conditions. We'll also explore how the "p" command and the latest features in Swift 6 can enhance your debugging experience. Discuss this video on the Apple Developer Forums: https://developer.apple.com/forums/topics/developer-tools-and-services?cid=yt-w-0011 Explore related documentation, sample code, and more: The LLDB debugger: https://lldb.llvm.org/ Symbolication: Beyond the basics: https://developer.apple.com/videos/play/wwdc2021/10211 Debug with structured logging: https://developer.apple.com/videos/play/wwdc2023/10226 00:00 - Introduction 00:42 - Agenda 01:15 - Debugging as a search problem 04:07 - Crashlogs & starting the program 07:27 - Breakpoints 12:10 - Breakpoint actions 15:27 - Help command 16:05 - High-firing breakpoints 19:24 - The p command 25:39 - @DebugDescription macro 27:50 - Wrap-up More Apple Developer resources: Video sessions: https://apple.co/VideoSessions Documentation: https://apple.co/DeveloperDocs Forums: https://apple.co/DeveloperForums App: https://apple.co/DeveloperApp

Comment