Posts

  • Debugging lldb Scripts in PyCharm

    title

    Debugging in lldb can be great. But sometimes, running commands manually becomes tedious. Fortunately, lldb provides a way to automate any action: Python scripts!

    However, writing Python scripts without IDE support and a debugger is beneath any developer’s dignity. In this tutorial, I will show you how to set up PyCharm to take your lldb scripting experience to the next level. There will be:

    • Python and PyCharm setup for lldb scripting
    • PyCharm fix for process attachment on an arm64 macOS
    • Python modules injection for IDE and runtime support
    • Debugging breakpoints and commands in PyCharm
  • Building Swift Code Faster

    title

    How do you speed up the build of your Swift project? Do you use -warn-long-function-bodies or maybe even -stats-output-dir? These can find some compilation performance issues, but how do you truly take your build times to the next level?

    In this article, I want to show you how tweaking some build settings can drastically speed up your clean build times.

  • Hacking the Finder with lldb and Hopper

    title

    Do you want to never press Show Package Contents again? Or maybe you just want to learn a couple of practical lldb techniques? Either way, I invite you on the journey to discover a hidden feature within the Finder!