> On Oct 15, 2015, at 20:06, Jens Alfke <j...@mooseyard.com> wrote:
> 
> 
>> On Oct 15, 2015, at 5:03 PM, Alex Hall <mehg...@icloud.com 
>> <mailto:mehg...@icloud.com>> 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
    frame #7: 0x000000010001b7f0 Cinnamon`Cinnamon.TweetsTab.(statuses=47 
values, self=0x00006080000a4380) -> (Swift.Optional<Swift.Int>) -> ()).(closure 
#1) + 1328 at TweetObjectsModel.swift:215
    frame #8: 0x000000010001edcc 
Cinnamon`Cinnamon.TwitterInterface.(statuses=47 values, 
successBlock=(Cinnamon`partial apply forwarder for Cinnamon.TweetsTab.(update 
(Cinnamon.TweetsTab) -> (Swift.Optional<Swift.Int>) -> ()).(closure #1) at 
TweetObjectsModel.swift)) -> (Cinnamon.TweetsTabTypes, count : 
Swift.Optional<Swift.Int>, maxID : Swift.Optional<Swift.String>, sinceID : 
Swift.Optional<Swift.String>, successBlock : 
(Swift.Optional<Swift.Array<SwifterMac.JSON>>) -> (), failureBlock : 
(__ObjC.NSError) -> ()) -> ()).(closure #1) + 76 at TwitterInterface.swift:31
    frame #9: 0x000000010001ee67 Cinnamon`reabstraction thunk helper from 
@callee_owned (@owned Swift.Optional<Swift.Array<SwifterMac.JSON>>) -> 
(@unowned ()) to @callee_owned (@in (statuses : 
Swift.Optional<Swift.Array<SwifterMac.JSON>>)) -> (@out ()) + 23 at 
TwitterInterface.swift:0
    frame #10: 0x000000010001d941 Cinnamon`partial apply forwarder for 
reabstraction thunk helper from @callee_owned (@owned 
Swift.Optional<Swift.Array<SwifterMac.JSON>>) -> (@unowned ()) to @callee_owned 
(@in (statuses : Swift.Optional<Swift.Array<SwifterMac.JSON>>)) -> (@out ()) 
with unmangled suffix "20" + 81 at TwitterInterface.swift:0
    frame #11: 0x0000000100151fbd 
SwifterMac`SwifterMac.Swifter.(json=JSONArray, response=0x000060000003a9c0, 
success=(Cinnamon`partial apply forwarder for reabstraction thunk helper from 
@callee_owned (@owned Swift.Optional<Swift.Array<SwifterMac.JSON>>) -> 
(@unowned ()) to @callee_owned (@in (statuses : 
Swift.Optional<Swift.Array<SwifterMac.JSON>>)) -> (@out ()) with unmangled 
suffix "20" at TwitterInterface.swift)) (SwifterMac.Swifter) -> (Swift.String, 
parameters : Swift.Dictionary<Swift.String, protocol<>>, count : 
Swift.Optional<Swift.Int>, sinceID : Swift.Optional<Swift.String>, maxID : 
Swift.Optional<Swift.String>, trimUser : Swift.Optional<Swift.Bool>, 
contributorDetails : Swift.Optional<Swift.Bool>, includeEntities : 
Swift.Optional<Swift.Bool>, success : Swift.Optional<(statuses : 
Swift.Optional<Swift.Array<SwifterMac.JSON>>) -> ()>, failure : 
Swift.Optional<(error : __ObjC.NSError) -> ()>) -> ()).(closure #1) + 221 at 
SwifterTimelines.swift:57
    frame #12: 0x000000010007f3a3 SwifterMac`reabstraction thunk helper from 
@callee_owned (@owned SwifterMac.JSON, @owned __ObjC.NSHTTPURLResponse) -> 
(@unowned ()) to @callee_owned (@in (json : SwifterMac.JSON, response : 
__ObjC.NSHTTPURLResponse)) -> (@out ()) + 67 at SwifterFavorites.swift:0
    frame #13: 0x0000000100151ed1 SwifterMac`partial apply forwarder for 
reabstraction thunk helper from @callee_owned (@owned SwifterMac.JSON, @owned 
__ObjC.NSHTTPURLResponse) -> (@unowned ()) to @callee_owned (@in (json : 
SwifterMac.JSON, response : __ObjC.NSHTTPURLResponse)) -> (@out ()) + 81 at 
SwifterTimelines.swift:0
    frame #14: 0x00000001000a800a 
SwifterMac`SwifterMac.Swifter.(success=(SwifterMac`partial apply forwarder for 
reabstraction thunk helper from @callee_owned (@owned SwifterMac.JSON, @owned 
__ObjC.NSHTTPURLResponse) -> (@unowned ()) to @callee_owned (@in (json : 
SwifterMac.JSON, response : __ObjC.NSHTTPURLResponse)) -> (@out ()) at 
SwifterTimelines.swift), jsonResult=JSONArray, response=0x000060000003a9c0) -> 
(Swift.String, baseURL : __ObjC.NSURL, method : Swift.String, parameters : 
Swift.Dictionary<Swift.String, protocol<>>, uploadProgress : 
Swift.Optional<(bytesWritten : Swift.Int, totalBytesWritten : Swift.Int, 
totalBytesExpectedToWrite : Swift.Int) -> ()>, downloadProgress : 
Swift.Optional<(json : SwifterMac.JSON, response : __ObjC.NSHTTPURLResponse) -> 
()>, success : Swift.Optional<(json : SwifterMac.JSON, response : 
__ObjC.NSHTTPURLResponse) -> ()>, failure : Swift.Optional<(error : 
__ObjC.NSError) -> ()>) -> SwifterMac.SwifterHTTPRequest).(closure #2).(closure 
#1).(closure #1) + 490 at Swifter.swift:157
    frame #15: 0x00000001000a6231 SwifterMac`partial apply forwarder for 
SwifterMac.Swifter.(jsonRequestWithPath (SwifterMac.Swifter) -> (Swift.String, 
baseURL : __ObjC.NSURL, method : Swift.String, parameters : 
Swift.Dictionary<Swift.String, protocol<>>, uploadProgress : 
Swift.Optional<(bytesWritten : Swift.Int, totalBytesWritten : Swift.Int, 
totalBytesExpectedToWrite : Swift.Int) -> ()>, downloadProgress : 
Swift.Optional<(json : SwifterMac.JSON, response : __ObjC.NSHTTPURLResponse) -> 
()>, success : Swift.Optional<(json : SwifterMac.JSON, response : 
__ObjC.NSHTTPURLResponse) -> ()>, failure : Swift.Optional<(error : 
__ObjC.NSError) -> ()>) -> SwifterMac.SwifterHTTPRequest).(closure #2).(closure 
#1).(closure #1) + 321 at Swifter.swift:0
    frame #16: 0x000000010008da67 SwifterMac`reabstraction thunk helper from 
@callee_owned () -> (@unowned ()) to @callee_unowned @convention(block) () -> 
(@unowned ()) + 39 at SwifterHTTPRequest.swift:0
    frame #17: 0x000000010080e028 
libdispatch.dylib`_dispatch_call_block_and_release + 12
    frame #18: 0x0000000100800c7d libdispatch.dylib`_dispatch_client_callout + 8
    frame #19: 0x00000001008186ad 
libdispatch.dylib`_dispatch_main_queue_callback_4CF + 2845
    frame #20: 0x00007fff87de9999 
CoreFoundation`__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
    frame #21: 0x00007fff87da89cd CoreFoundation`__CFRunLoopRun + 1949
    frame #22: 0x00007fff87da7fc8 CoreFoundation`CFRunLoopRunSpecific + 296
    frame #23: 0x00007fff913c9d55 HIToolbox`RunCurrentEventLoopInMode + 235
    frame #24: 0x00007fff913c9b8f HIToolbox`ReceiveNextEventCommon + 432
    frame #25: 0x00007fff913c99cf 
HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 71
    frame #26: 0x00007fff81da0d96 AppKit`_DPSNextEvent + 1067
    frame #27: 0x00007fff81da01c5 AppKit`-[NSApplication 
_nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
    frame #28: 0x00007fff81d94d28 AppKit`-[NSApplication run] + 682
    frame #29: 0x00007fff81d5dfbe AppKit`NSApplicationMain + 1176
    frame #30: 0x0000000100020927 Cinnamon`main + 87 at AppDelegate.swift:12
    frame #31: 0x00007fff845b15ad libdyld.dylib`start + 1
(lldb) 
> 
> —Jens
> 


--
Have a great day,
Alex Hall
mehg...@icloud.com

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (Xcode-users@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to