Avatar
norio_nomura 2/6/2020 8:33 AM
アプリ側で作られたものはヒットしなかった
ほんとだ。
(edited)
8:35 AM
lldbでbreakpoint set -r NativeSet.insertNewとすると、アプリ側で作られたものにもヒットする。
8:37 AM
(lldb) breakpoint set -r Generator.*NativeSet.insertNew Breakpoint 15: 2 locations. (lldb) b Current breakpoints: 15: regex = 'Generator.*NativeSet.insertNew', locations = 2, resolved = 2, hit count = 0 15.1: where = SwiftyKnots-Sample`generic specialization <SwiftyKnots.GridComplex.Generator> of Swift._NativeSet.insertNew(_: __owned A, at: Swift._HashTable.Bucket, isUnique: Swift.Bool) -> () at <compiler-generated>, address = 0x0000000100009030, resolved, hit count = 0 15.2: where = SwiftyKnots-Sample`generic specialization <SwiftyKnots.GridComplex.Generator> of Swift._NativeSet.insertNew(_: __owned A, at: Swift._HashTable.Bucket, isUnique: Swift.Bool) -> () at <compiler-generated>, address = 0x00000001000bdf60, resolved, hit count = 0
8:39 AM
Xcode GUIのBreakpoint navigatorには表示されないけど。