-
Notifications
You must be signed in to change notification settings - Fork 0
/
lldbinit
15 lines (13 loc) · 885 Bytes
/
lldbinit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#-------------------------------------------------------------------------------
# Settings
#-------------------------------------------------------------------------------
settings set -g target.inline-breakpoint-strategy always
#-------------------------------------------------------------------------------
# Aliases
#-------------------------------------------------------------------------------
# TODO: Might be useless starting in Xcode 7.3.
command alias uikit expr @import UIKit
command alias foundation expr @import Foundation
command alias firstResponder po [[[UIApplication sharedApplication] keyWindow] firstResponder]
# http://jeffreysambells.com/2013/01/24/debugging-layouts-with-recursive-view-descriptions-in-xcode
command regex rd 's/^[[:space:]]*$/po [[[UIApplication sharedApplication] keyWindow] recursiveDescription]/' 's/^(.+)$/po [%1 recursiveDescription]/'