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.

Files for mallet-lldb, version 1.0a2
Filename, size File type Python version Upload date Hashes
Filename, size mallet_lldb-1.0a2-py2-none-any.whl (288.9 kB) File type Wheel Python version py2 Upload date Hashes View hashes
Filename, size mallet-lldb-1.0a2.tar.gz (100.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page