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

Опубликовано: 12 Июнь 2024
на канале: Apple Developer
3,637
101

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


Смотрите видео WWDC24: Run, Break, Inspect: Explore effective debugging in LLDB | Apple онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Apple Developer 12 Июнь 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 3,637 раз и оно понравилось 101 людям.