How can I set LLDB's default language to Swift?
I have a large Swift project that’s technically a mixed project, as it has a small amount of Objective-C code. But whenever I drop into LLDB, the expression evaluator is expecting Objective-C syntax. I can use Swift with
e -l swift -- but this is tedious to type every time.
Can I default the LLDB expression evaluator to Swift?
- How do you stop the XCode debugger from autocompleting without options?
- Swift error: failed to get module 'My_App' from AST context
- Setting breakpoint at NSKVODeallocateBreak
- lldb Xcode: error: 'printf' is not a valid command
- How can I do remote debugging in Xcode 4?
- Project specific .lldbinit in current working directory not read by Xcode
Solutions Collect From Internet About “How can I set LLDB's default language to Swift?”
There is a target level setting to force the language:
(lldb) settings set target.language swift
Or you can make an alias for swift specific expressions:
command alias es expression -l swift --
- How to solve Mach-O-Linker error in ios7 & Xcode 5.0.1
- how to detect when the iOS default keyboard type switches from text to numbers
- Is ABRecordID a reliable way to identify unique contacts?
- Swift: replace character in string – without stringByReplacingOccurrencesOfString
- How to detect redirect in a UIWebView
- How to Initialize NSTextStorage with a String in Swift
- Is there a way to reference instance function when calling SequenceType.forEach?
- What is the easiest way to generate random integers within a range in Swift?
- Taking a screenshot when camera is on -iOS
- how can I set a max value on my html5 date input so that it could be recognized by safari for iOS?
- How to specify which GDB I can use in XCode on MacOS
- Slow app compilation with new Sierra update
- AVCaptureSession cancels background audio
- Swift 3 IOS 9 And IOS 10 Core Data
- viewing coredata with sqlite browser in xcode 5