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/to...
Explore related documentation, sample code, and more:
The LLDB debugger: https://lldb.llvm.org/
Symbolication: Beyond the basics: https://developer.apple.com/videos/pl...
Debug with structured logging: https://developer.apple.com/videos/pl...
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
Watch video WWDC24: Run, Break, Inspect: Explore effective debugging in LLDB | Apple online, duration hours minute second in high quality that is uploaded to the channel Apple Developer 12 June 2024. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 3,637 times and liked it 101 visitors.