Skip to main content

LLDB additions for iOS project.

Project description

LLDB additions for iOS project.

assets/before_after.png

Installation

PIP

[sudo] pip install mallet-lldb

Add the following line to your ~/.lldbinit file. If it doesn’t exist, create it.

command script import mallet

GitHub

git clone https://github.com/bartoszj/Mallet

Add the following line to your ~/.lldbinit file. If it doesn’t exist, create it.

command script import /path/to/mallet/folder

Homebrew

TBD


The summaries will be available the next time Xcode starts.

Configuration

By default Mallet doesn’t load summaries for StoreKit. If you want to load them or load any custom summaries, or configure Mallet behavior then create file ~/.lldb/mallet.yml. You can find example in the GitHub repository.

# List of packages that should be loaded (both built in and custom).
# StoreKit is not by default loaded.
# Custom modules can be added by adding path to module.
packages:
  - StoreKit
  # - ~/path/to/custom/module

# Turn on/off logging to file ~/Library/Logs/mallet.log. (by default false).
# logging: true

# Cleans log file every time mallet is loaded (by default false).
# clean_logs: true

Custom summaries

TBD.

Supported summaries:

  • AFNetworking:
    • AFURLConnectionOperation

    • AFHTTPRequestOperation

    • AFHTTPRequestOperationManager

    • AFURLSessionManager

    • AFHTTPSessionManager

    • AFHTTPRequestSerializer

    • AFJSONRequestSerializer

    • AFPropertyListRequestSerializer

    • AFHTTPResponseSerializer

    • AFJSONResponseSerializer

    • AFPropertyListResponseSerializer

    • AFXMLParserResponseSerializer

    • AFXMLDocumentResponseSerializer

    • AFImageResponseSerializer

    • AFCompoundResponseSerializer

    • AFSecurityPolicy

    • AFNetworkActivityIndicatorManager

    • AFNetworkReachabilityManager

  • CoreGraphics:
    • CGAffineTransform

    • CGImage

    • CGVector

  • CFNetwork:
    • CFURLRequest

    • CFURLResponse

    • NSURLConnection

    • NSURLRequest (NSMutableURLRequest)

    • NSURLResponse, NSHTTPURLResponse

    • NSURLSession

    • NSURLSessionConfiguration

    • NSURLSessionTask, NSURLSessionDataTask, NSURLSessionDownloadTask, NSURLSessionUploadTask

    • __NSCFLocalDownloadFile

  • Foundation:
    • NSDateComponents

    • NSLayoutConstraint

    • NSObject

    • NSOperation (NSBlockOperation)

    • NSOperationQueue

    • NSURLComponents (__NSConcreteURLComponents)

    • NSUUID (__NSConcreteUUID)

  • QuartzCore:
    • CALayer

  • UIKit:
    • UIActivityIndicatorView

    • UIAlertAction

    • UIAlertController

    • UIAlertView

    • UIBarItem / UIBarButtonItem

    • UIButton

    • UIColor / UIDeviceWhiteColor / UIDeviceRGBColor

    • UIDatePicker

    • UIEdgeInsets

    • UIEvent / UIInternalEvent / UITouchesEvent

    • UIImage

    • UIImageView

    • UILabel

    • UINavigationController

    • UINib / UINibStorage

    • UIOffset

    • UIPageControl

    • UIPickerView (Don’t know what / how to show)

    • UIProgressView

    • UIScreen

    • UIScrollView

    • UISegmentedControl

    • UISlider

    • UIStepper

    • UIStoryboard

    • UIStoryboardSegue

    • UISwitch

    • UITableViewCell

    • UITextField

    • UITouch

    • UIView (UIWindow)

    • UIViewController

  • StoreKit:
    • SKDownload (not tested!)

    • SKPayment

    • SKPaymentQueue

    • SKPaymentTransaction

    • SKProduct

    • SKProductsRequest

    • SKProductsResponse

    • SKReceiptRefreshRequest (doesn’t return anything)

    • SKRequest

Supported synthetic children:

  • CFNetwork:
    • NSURLRequest / NSMutableURLRequest

    • NSURLResponse, NSHTTPURLResponse

  • Foundation:
    • NSDateComponents

    • NSURLComponents

  • UIKit:
    • UINavigationController

    • UIDeviceWhiteColor / UIDeviceRGBColor

    • UITouchesEvent

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mallet-lldb-1.0a2.tar.gz (100.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mallet_lldb-1.0a2-py2-none-any.whl (288.9 kB view details)

Uploaded Python 2

File details

Details for the file mallet-lldb-1.0a2.tar.gz.

File metadata

  • Download URL: mallet-lldb-1.0a2.tar.gz
  • Upload date:
  • Size: 100.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for mallet-lldb-1.0a2.tar.gz
Algorithm Hash digest
SHA256 fd62d7223d5b01c874feb8ffe00fc48b79510de3ca514ba61520e87b092603d6
MD5 2cf5aa3bf8ddf0cac3acbaaad124045a
BLAKE2b-256 230dec88c448aad9ebca593a75083793dfff4a0d6b4404fad7674263b8a8bb42

See more details on using hashes here.

File details

Details for the file mallet_lldb-1.0a2-py2-none-any.whl.

File metadata

File hashes

Hashes for mallet_lldb-1.0a2-py2-none-any.whl
Algorithm Hash digest
SHA256 ecc256c047dc1d421dc8d4f654a97c672075960dee33c252669c90850f77b032
MD5 7ebdca2505369d8eb2e90615669a479c
BLAKE2b-256 5f8068991daff510c33a88da3a3d69b436dab767acabc7a90fe08d98366c64a5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page