Skip to content

minsone-opensource-fork/iLLDB

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iLLDB

LLDB Extension for iOS App Development

Github issues Github forks Github stars Github top language

Feature

Set up

  1. clone this repository
  2. Add the following line to ~/.lldbinit
    command script import {PATH TO iLLDB}/src/iLLDB.py
    

Usage

UI hierarchy

(lldb) ui tree -h
usage:  tree
       [-h]
       [-d]
       [-s]
       [--window WINDOW]
       [--view VIEW]
       [--vc VC]
optional arguments:
  -h, --help
    show this help message and exit
  -d, --detail
    Enable detailed mode (default: False)
  -s, --simple
    Enable simpled mode (default: False)
  --window WINDOW
    Specify the target window (default: None)
  --view VIEW
    Specify the target view (default: None)
  --vc VC
    Specify the target viewController (default: None)

Example

  • Show keyWindow hierarchy

    ui tree

    KeyWindow

    ui tree -s # simple

    KeyWindow

    ui tree -d # detail

    KeyWindow

  • Show the hierarchy of a specific view

    ui tree -view {property name of view}
    
  • Show the hierarchy of a specific viewController

    ui tree -vc {property name of viewController}
    
  • Show the hierarchy of a specific window

    ui tree -window {property name of window}
    

UserDefaults

read

ud --read "key"

write

ud --write "key" "value"

delete

ud --delete "key"

read all

ud --read-all

delete all

ud --delete-all

Device Info

Displays device information.

device info

device info

App Info

Displays App information.

app info

app info

File hierarchy

(lldb) file tree -h
usage:  tree
       [-h]
       [-l]
       [--documents]
       [--tmp TMP]
optional arguments:
  -h, --help
    show this help message and exit
  -l, --library
    library directory (default: False)
  --documents
    documents directory (default: False)
  --tmp TMP
    tmp directory (default: None)

Example

  • Display the contents of the Library directory

    file tree --library
  • Display the contents of the Documents directory

    file tree --documents
  • Display the contents of the tmp directory

    file tree --tmp
  • Display the contents of a specific directory

    file tree {url}

file tree

License

iLLDB is released under the MIT License. See LICENSE

About

LLDB Extension for iOS App Development

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 68.0%
  • Swift 32.0%