Skip to content

Instantly share code, notes, and snippets.

@Cosmo
Last active August 29, 2015 13:56
Show Gist options
  • Save Cosmo/9131529 to your computer and use it in GitHub Desktop.
Save Cosmo/9131529 to your computer and use it in GitHub Desktop.
# nslog with message
NSLog("Message from watch received: %@", message)
2014-02-21 10:47:01.514 OnTelly Remote[1298:60b] Message from watch received: {
2 = "<PBNumber 0x1650ba50> { value: 41, width: 4, signed: Y }";
}
# nslog with message[2]
NSLog("Message from watch received: %@", message[2])
Process 1315 stopped
* thread #1: tid = 0x20b12, 0x30b51c70 Foundation`-[NSNumber(NSCFAdditions) _cfNumberType] + 176, queue = 'com.apple.main-thread, stop reason = EXC_BREAKPOINT (code=EXC_ARM_BREAKPOINT, subcode=0xdefe)
frame #0: 0x30b51c70 Foundation`-[NSNumber(NSCFAdditions) _cfNumberType] + 176
Foundation`-[NSNumber(NSCFAdditions) _cfNumberType] + 176:
-> 0x30b51c70: trap
0x30b51c72: nop
Foundation`-[NSNumber(NSCFAdditions) _getValue:forType:]:
0x30b51c74: push {r4, r7, lr}
0x30b51c76: subs r1, r3, #1
(lldb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment