Xcode调试器不会在watchOS应用中的断点处停止

时间:2018-07-16 11:52:56

标签: ios xcode watch-os watchos-simulator xcode-debugger

我在applicationDidBecomeActive类的WKExtensionDelegate方法中设置了一个断点。

WatchExtensionDelegate.h

@interface WatchExtensionDelegate : NSObject<WKExtensionDelegate>
@end

WatchExtensionDelegate.m

@implementation WatchExtensionDelegate

- (void)applicationDidBecomeActive {
    [self refreshView]; // Breakpoint
    [self refreshData];
}

...

@end

断点截屏

Screenshot of breakpoint


该应用程序可正常运行。但是调试器不会停止。我使用Xcode 9.4.1

0 个答案:

没有答案