我有一个奇怪的错误,我的登录方法中的一个块在我的 facebook 注销功能中间被错误地再次调用。要发布很多代码,但我的问题是如何在 xcode 中进行调试。是否有我可以使用的特定工具来帮助跟踪从何处调用块?
这是线程信息
#0 0x0017ca21 in __46-[FacebookRepo startLoginWithCompletionBlock:]_block_invoke at /Users/transformer/Projects/PictoriousApp/Pictorious/Core/FacebookRepo.m:183
#1 0x00440a96 in -[FBSession transitionAndCallHandlerWithState:error:token:expirationDate:shouldCache:loginType:] at /Users/jacl/src/release-trashme/ios-sdk/src/FBSession.m:1497
#2 0x004414fa in -[FBSession closeAndClearTokenInformation:] at /Users/jacl/src/release-trashme/ios-sdk/src/FBSession.m:1702
#3 0x0043d814 in -[FBSession closeAndClearTokenInformation] at /Users/jacl/src/release-trashme/ios-sdk/src/FBSession.m:417
#4 0x0017d1c4 in -[FacebookRepo startLogout] at /Users/transformer/Projects/PictoriousApp/Pictorious/Core/FacebookRepo.m:248
#5 0x00198dad in -[PictoriousSession startLogout] at /Users/transformer/Projects/PictoriousApp/Pictorious/Core/PictoriousSession.m:140
#6 0x00212841 in -[EditProfileViewController userLogOut] at /Users/transformer/Projects/PictoriousApp/Pictorious/Controllers/People/Profile/EditProfileViewController.m:293
让它看起来像