cb424d7448
verify-patch-sanity.py validates every active recipe .patch has internally- consistent hunk line counts — catching the 'malformed patch at line N' failure at commit/CI/preflight time instead of hours into a cook. This cycle hit that class three times (qtwaylandscanner, sddm, xwayland), each only discovered when cookbook tried to apply the patch. Running it across the repo found 29 latent malformed patches (validated against GNU patch: e.g. relibc/P3-sysv-ipc reproduces 'malformed patch at line 22'). They were harmless only because they sit in vendored recipes (baked, not re- applied) — but would fail on any version-bump re-derivation. --fix recounts the hunk headers (body untouched) and repaired all 29. Wired into build-preflight.sh (Phase 1.0D) and redbear-ci.yml, with a unit test (test-patch-sanity.sh). Skips archived/legacy trees and unvalidatable formats (empty placeholders, bare-@@ git hunks).
74 lines
2.5 KiB
ReStructuredText
74 lines
2.5 KiB
ReStructuredText
Links
|
||
=====
|
||
|
||
This page contains links to external resources on how to use LLDB. Being
|
||
listed on this page is not an endorsement.
|
||
|
||
Blog Posts
|
||
----------
|
||
|
||
`Dancing in the Debugger — A Waltz with LLDB (2014)`_
|
||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||
|
||
A high level overview of LLDB with a focus on debugging Objective-C
|
||
code.
|
||
|
||
Videos
|
||
------
|
||
|
||
`Run, Break, Inspect: Explore effective debugging in LLDB (2024)`_
|
||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||
|
||
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 can enhance your debugging experience.
|
||
|
||
`LLDB: Beyond “po” (2019)`_
|
||
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||
|
||
LLDB is a powerful tool for exploring and debugging your app at runtime.
|
||
Discover the various ways to display values in your app, how to format
|
||
custom data types, and how to extend LLDB using your own Python 3
|
||
scripts.
|
||
|
||
`Advanced Debugging with Xcode and LLDB (2018)`_
|
||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||
|
||
Discover advanced techniques, and tips and tricks for enhancing your
|
||
Xcode debugging workflows. Learn how to take advantage of LLDB and
|
||
custom breakpoints for more powerful debugging. Get the most out of
|
||
Xcode’s view debugging tools to solve UI issues in your app more
|
||
efficiently.
|
||
|
||
Books
|
||
-----
|
||
|
||
`Advanced Apple Debugging & Reverse Engineering (2018)`_
|
||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||
|
||
A book about using LLDB on Apple platforms.
|
||
|
||
Extensions
|
||
----------
|
||
|
||
`facebook/chisel`_
|
||
~~~~~~~~~~~~~~~~~~
|
||
|
||
Chisel is a collection of LLDB commands to assist in the debugging of
|
||
iOS apps.
|
||
|
||
`DerekSelander/LLDB`_
|
||
~~~~~~~~~~~~~~~~~~~~~
|
||
|
||
A collection of LLDB aliases/regexes and Python scripts.
|
||
|
||
.. _Dancing in the Debugger — A Waltz with LLDB (2014): https://www.objc.io/issues/19-debugging/lldb-debugging/
|
||
.. _`Run, Break, Inspect: Explore effective debugging in LLDB (2024)`: https://developer.apple.com/videos/play/wwdc2024/10198
|
||
.. _`LLDB: Beyond “po” (2019)`: https://developer.apple.com/videos/play/wwdc2019/429/
|
||
.. _Advanced Debugging with Xcode and LLDB (2018): https://developer.apple.com/videos/play/wwdc2018/412/
|
||
.. _Advanced Apple Debugging & Reverse Engineering (2018): https://www.raywenderlich.com/books/advanced-apple-debugging-reverse-engineering/
|
||
.. _facebook/chisel: https://github.com/facebook/chisel
|
||
.. _DerekSelander/LLDB: https://github.com/DerekSelander/LLDB
|