watchpoint set variable
watchpoint set variable string_weak_assign
Watchpoint created: Watchpoint 3: addr = 0x10fcaa468 size = 8 state = enabled type = w
declare @ ‘/Users/zzf073/Downloads/AssociatedObjects-master/AssociatedObjects/ViewController.m:12‘
watchpoint spec = ‘string_weak_assign‘
new value: 0x0000604000031a20
Watchpoint 3 hit:
old value: 0x0000604000031a20
new value: 0x0000000000000000
(lldb) bt
* thread #1, queue = ‘com.apple.main-thread‘, stop reason = watchpoint 3
* frame #0: 0x00000001105cca3d libobjc.A.dylib`weak_clear_no_lock + 155
frame #1: 0x00000001105cdaf5 libobjc.A.dylib`objc_object::sidetable_clearDeallocating() + 153
frame #2: 0x00000001105c31bd libobjc.A.dylib`objc_destructInstance + 149
frame #3: 0x0000000110f67c19 CoreFoundation`_CFRelease + 1049
frame #4: 0x00000001105ce178 libobjc.A.dylib`(anonymous namespace)::AutoreleasePoolPage::pop(void*) + 860
frame #5: 0x0000000116d18a33 QuartzCore`CA::Context::commit_transaction(CA::Transaction*) + 819
frame #6: 0x0000000116d45946 QuartzCore`CA::Transaction::commit() + 500
frame #7: 0x0000000116d46694 QuartzCore`CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 76
frame #8: 0x0000000110ec6c07 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
frame #9: 0x0000000110ec6b5e CoreFoundation`__CFRunLoopDoObservers + 430
frame #10: 0x0000000110eab124 CoreFoundation`__CFRunLoopRun + 1572
frame #11: 0x0000000110eaa889 CoreFoundation`CFRunLoopRunSpecific + 409
frame #12: 0x0000000115f359c6 GraphicsServices`GSEventRunModal + 62
frame #13: 0x00000001113a25d6 UIKit`UIApplicationMain + 159
frame #14: 0x000000010fca5a8f AssociatedObjects`main(argc=1, argv=0x00007fff4ff5a140) at main.m:14
frame #15: 0x000000011494cd81 libdyld.dylib`start + 1
watchpoint set variable