On Oct 15, 2015, at 5:03 PM, Alex Hall <
email@hidden> wrote:
I'm sorry to be asking such basic questions, but what do you mean by the debug console? The place where errors and print/log statements appear doesn't take input
Yes, it does. When the app is paused, an “(lldb)” prompt appears in that console and you can type LLDB commands to it followed by Return, like in a terminal window.
Whoa, what do you know, it does! I always figured the LLDB was just letting me know the app was running, I never imagined it was a command prompt. That's really cool. Okay, here's the result of that command (it's quite long):
bt
* thread #1: tid = 0xda2e6, 0x0000000100491ccf libswiftCore.dylib`swift_slowAlloc + 31, queue = 'com.apple.main-thread', stop reason = EXC_BREAKPOINT (code=EXC_I386_BPT, subcode=0x0)
* frame #0: 0x0000000100491ccf libswiftCore.dylib`swift_slowAlloc + 31
frame #1: 0x0000000100483fa4 libswiftCore.dylib`_swift_allocObject_(swift::HeapMetadata const*, unsigned long, unsigned long) + 20
frame #2: 0x0000000100273faa libswiftCore.dylib`Swift._ContiguousArrayBuffer.init <A> (Swift._ContiguousArrayBuffer<A>.Type)(count : Swift.Int, minimumCapacity : Swift.Int) -> Swift._ContiguousArrayBuffer<A> + 74
frame #3: 0x00000001002809e3 libswiftCore.dylib`Swift._forceCreateUniqueMutableBufferForceGrow <A where A: Swift._ArrayBufferType> (inout A, Swift.Int, Swift.Int) -> Swift._ContiguousArrayBuffer<A.Element> + 195
frame #4: 0x000000010029675b libswiftCore.dylib`Swift.Array._copyToNewGrownBuffer <A> (inout Swift.Array<A>)(Swift.Int) -> () + 539
frame #5: 0x000000010029793f libswiftCore.dylib`Swift.Array.append <A> (inout Swift.Array<A>)(A) -> () + 47
frame #6: 0x0000000100019dd3 Cinnamon`Cinnamon.TweetsTab.addTweetWithJSONValue (JSONTweet=JSONObject, self=0x00006080000a4380)(SwifterMac.JSON) -> () + 3939 at TweetObjectsModel.swift:262