LLDB Additions for IOS Project.
mallet-lldb的Python项目详细描述
为ios项目添加lldb。
安装
PIP
[sudo] pip install mallet-lldb
将以下行添加到~/.lldbinit文件中。如果它不存在,创建它。
command script import mallet
Github
git clone https://github.com/bartoszj/Mallet
将以下行添加到~/.lldbinit文件中。如果它不存在,创建它。
command script import /path/to/mallet/folder
自制
待定
这些摘要将在下次xcode启动时可用。
配置
默认情况下,mallet不加载StoreKit的摘要。如果要加载它们或加载任何自定义摘要,或配置mallet行为,请创建文件~/.lldb/mallet.yml。您可以在github存储库中找到示例。
# 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
自定义摘要
待定。
支持的摘要:
- 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(不知道要显示什么/如何显示)
- UIProgressView
- UIScreen
- UIScrollView
- UISegmentedControl
- UISlider
- UIStepper
- UIStoryboard
- UIStoryboardSegue
- UISwitch
- UITableViewCell
- UITextField
- UITouch
- UIView(UIWindow)
- UIViewController
- StoreKit:
- SKDownload(未测试!)
- SKPayment
- SKPaymentQueue
- SKPaymentTransaction
- SKProduct
- SKProductsRequest
- SKProductsResponse
- SKReceiptRefreshRequest(不返回任何内容)
- SKRequest
支持的合成子项:
- CFNetwork:
- NSURLRequest/NSMutableURLRequest
- NSURLResponse,NSHTTPURLResponse
- Foundation:
- NSDateComponents
- NSURLComponents
- UIKit:
- UINavigationController
- UIDeviceWhiteColor/UIDeviceRGBColor
- UITouchesEvent