Upgrade to Pro — share decks privately, control downloads, hide ads and more …

How to Play LLDB in iOS runtime?

How to Play LLDB in iOS runtime?

Avatar for Sting Su

Sting Su

May 28, 2019
Tweet

Other Decks in Programming

Transcript

  1. Why LLDB? • high-performance debugger • Clang expression parser &

    LLVM disassembler • Default debugger in Xcode • Run Swift REPL & python supported • Save your time
  2. Clang v.s GCC(GNU Compiler Collection) Clang • Apple official compiler

    • Frontend for LLVM • High performance • BSD license • …… GCC • Linux based • Support more languages • GPL license
  3. • How Apple deprecated GCC Front-end Back-end Xcode 3 GCC

    GCC Xcode 4 GCC LLVM Xcode 5 Clang LLVM
  4. • p(print) → expr -- expr -- foo • po(print

    object) → expr -O -- expr -O -- foo