Objective c 所有异常断点在模拟器上无故停止

Objective c 所有异常断点在模拟器上无故停止,objective-c,xcode,ios-simulator,Objective C,Xcode,Ios Simulator,这很烦人,每次我试图在模拟器上调试“所有异常断点”,应用程序都会在这一行无故停止: return UIApplicationMain(argc, argv, nil, NSStringFromClass([STAppDelegate class])); 有没有其他人发现他在这个问题上苦苦挣扎 谢谢 编辑 第一次投掷时的回溯跟踪: thread #1: tid = 0x1d96b, 0x36fbf540 libc++abi.dylib`__cxa_throw, queue = 'com.app

这很烦人,每次我试图在模拟器上调试“所有异常断点”,应用程序都会在这一行无故停止:

return UIApplicationMain(argc, argv, nil, NSStringFromClass([STAppDelegate class]));
有没有其他人发现他在这个问题上苦苦挣扎

谢谢

编辑

第一次投掷时的回溯跟踪:

 thread #1: tid = 0x1d96b, 0x36fbf540 libc++abi.dylib`__cxa_throw, queue = 'com.apple.main-thread', stop reason = breakpoint 3.2
    frame #0: 0x36fbf540 libc++abi.dylib`__cxa_throw
    frame #1: 0x306975cc libFontParser.dylib`TFileDescriptorContext::TFileDescriptorContext(char const*) + 112
    frame #2: 0x306973d8 libFontParser.dylib`TFileDataReference::TFileDataReference(char const*) + 164
    frame #3: 0x306971fc libFontParser.dylib`TFileDataSurrogate::TFileDataSurrogate(char const*, bool) + 188
    frame #4: 0x3069555a libFontParser.dylib`TFont::CreateFontEntitiesForFile(char const*, bool, TSimpleArray<TFont*>&, bool, short, char const*) + 1402
    frame #5: 0x30694a80 libFontParser.dylib`FPFontCreateFontsWithPath + 224
    frame #6: 0x2a5032bc libCGXType.A.dylib`create_private_data_with_path + 12
    frame #7: 0x2a3ca3c4 CoreGraphics`CGFontCreateFontsWithPath + 24
    frame #8: 0x2a4855d6 CoreGraphics`CGFontCreateFontsWithURL + 310
    frame #9: 0x313dfee4 GraphicsServices`AddFontsFromURLOrPath + 68
    frame #10: 0x313e39de GraphicsServices`__Initialize_block_invoke + 934
    frame #11: 0x0121fabe libdispatch.dylib`_dispatch_client_callout + 22
    frame #12: 0x01220750 libdispatch.dylib`dispatch_once_f + 100
    frame #13: 0x313df72c GraphicsServices`Initialize + 196
    frame #14: 0x377944c4 libobjc.A.dylib`_class_initialize + 536
    frame #15: 0x3779a046 libobjc.A.dylib`lookUpImpOrForward + 254
    frame #16: 0x37799f3e libobjc.A.dylib`_class_lookupMethodAndLoadCache3 + 34
    frame #17: 0x377a01f8 libobjc.A.dylib`_objc_msgSend_uncached + 24
    frame #18: 0x2d673b6e UIKit`-[UIStatusBarNewUIForegroundStyleAttributes makeTextFontForStyle:] + 78
    frame #19: 0x2d634d94 UIKit`-[UIStatusBarForegroundStyleAttributes textFontForStyle:] + 104
    frame #20: 0x2d5e767e UIKit`-[UIStatusBarServiceItemView updateForContentType:serviceString:serviceCrossfadeString:maxWidth:actions:] + 390
    frame #21: 0x2d5e74ee UIKit`-[UIStatusBarServiceItemView updateForNewData:actions:] + 186
    frame #22: 0x2d6428d0 UIKit`-[UIStatusBarItemView initWithItem:data:actions:style:] + 324
    frame #23: 0x2d642568 UIKit`-[UIStatusBarLayoutManager _createViewForItem:withData:actions:] + 108
    frame #24: 0x2d5e6f74 UIKit`-[UIStatusBarLayoutManager _prepareEnabledItemType:withEnabledItems:withData:actions:itemAppearing:itemDisappearing:] + 264
    frame #25: 0x2d5e6e22 UIKit`-[UIStatusBarLayoutManager prepareEnabledItems:withData:actions:] + 74
    frame #26: 0x2d5e6c72 UIKit`-[UIStatusBarForegroundView _setStatusBarData:actions:animated:] + 162
    frame #27: 0x2d5e6b96 UIKit`-[UIStatusBarForegroundView setStatusBarData:actions:animated:] + 710
    frame #28: 0x2d671ebe UIKit`__44-[UIStatusBar _prepareToSetStyle:animation:]_block_invoke + 358
    frame #29: 0x2d5fc230 UIKit`+[UIView(Animation) performWithoutAnimation:] + 72
    frame #30: 0x2d66fcf4 UIKit`-[UIStatusBar _prepareToSetStyle:animation:] + 688
    frame #31: 0x2d6579ca UIKit`-[UIStatusBar _requestStyleAttributes:animationParameters:] + 290
    frame #32: 0x2d65696e UIKit`-[UIStatusBar requestStyle:animated:] + 86
    frame #33: 0x2d65559a UIKit`-[UIApplication _createStatusBarWithRequestedStyle:orientation:hidden:] + 406
    frame #34: 0x2d85122a UIKit`-[UIApplication _runWithMainScene:transitionContext:completion:] + 970
    frame #35: 0x2d85bc68 UIKit`__84-[UIApplication _handleApplicationActivationWithScene:transitionContext:completion:]_block_invoke + 36
    frame #36: 0x2d84fc5a UIKit`-[UIApplication workspaceDidEndTransaction:] + 130
    frame #37: 0x3086c0e0 FrontBoardServices`__31-[FBSSerialQueue performAsync:]_block_invoke + 12
    frame #38: 0x2a13782c CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
    frame #39: 0x2a136af0 CoreFoundation`__CFRunLoopDoBlocks + 216
    frame #40: 0x2a13564a CoreFoundation`__CFRunLoopRun + 1714
    frame #41: 0x2a082db0 CoreFoundation`CFRunLoopRunSpecific + 476
    frame #42: 0x2a082bc2 CoreFoundation`CFRunLoopRunInMode + 106
    frame #43: 0x2d653c36 UIKit`-[UIApplication _run] + 558
    frame #44: 0x2d64ea30 UIKit`UIApplicationMain + 1440
  * frame #45: 0x003b4ec2 Stox`main(argc=1, argv=0x01200b08) + 178 at main.m:17
thread#1:tid=0x1d96b,0x36fbf540 libc++abi.dylib`\uuu cxa\u throw,queue='com.apple.main thread',停止原因=断点3.2
帧#0:0x36fbf540 libc++abi.dylib`\uuuucxa\uthrow
帧#1:0x306975cc libFontParser.dylib`TFileDescriptorContext::TFileDescriptorContext(char const*)+112
帧#2:0x306973d8 libFontParser.dylib`TFileDataReference::TFileDataReference(char const*)+164
帧#3:0x306971fc libFontParser.dylib`TFileDataSurrogate::TFileDataSurrogate(char const*,bool)+188
帧#4:0x3069555a libFontParser.dylib`TFont::CreateFontEntitiesForFile(char-const*,bool,tsimplerray&,bool,short,char-const*)+1402
帧#5:0x30694a80 libFontParser.dylib`FPFontCreateFontsWithPath+224
帧#6:0x2a5032bc libCGXType.A.dylib`create_private_data_,路径+12
帧#7:0x2a3ca3c4 CoreGraphics`CGFontCreateFontsWithPath+24
帧#8:0x2a4855d6 CoreGraphics`CGFontCreateFontsWithURL+310
帧#9:0x313dfee4图形服务'AddFontsFromURLOrPath+68
帧#10:0x313e39de图形服务`uu初始化u块u调用+934
帧#11:0x0121数据库libdispatch.dylib`_dispatch_client_callout+22
帧#12:0x01220750 libdispatch.dylib`dispatch_once_f+100
帧#13:0x313df72c图形服务`初始化+196
帧#14:0x377944c4 libobjc.A.dylib`_class_initialize+536
帧#15:0x3779a046 libobjc.A.dylib`lookupimportforward+254
帧#16:0x37799f3e libobjc.A.dylib`\u class\u lookupmethod和loadcache3+34
帧#17:0x377a01f8 libobjc.A.dylib`_objc_msgSend_uncached+24
框架#18:0x2d673b6e UIKit`-[UIStatusBarNewUIForegroundStyleAttributes makeTextFontForStyle:+78
帧#19:0x2d634d94 UIKit`-[UIStatusBarForegroundStyleAttributes textFontForStyle:+104
帧#20:0x2d5e767e UIKit`-[UIStatusBarServiceItemView updateForContentType:serviceString:serviceCrossfadeString:maxWidth:actions:+390
帧#21:0x2d5e74ee UIKit`-[UIStatusBarServiceItemView更新forneWDATA:actions:][186
帧#22:0x2d6428d0 UIKit`-[UIStatusBarItemView initWithItem:data:actions:style:+324
框架#23:0x2d642568 UIKit`-[UIStatusBarLayoutManager\u createViewForItem:withData:actions:+108
frame#24:0x2d5e6f74 UIKit`-[UIStatusBarLayoutManager\u prepareEnabledItemType:withEnabledItems:withData:actions:ItemIssuing:ItemEnglishing:+264
框架#25:0x2d5e6e22 UIKit`-[UIStatusBarLayoutManager prepareEnabledItems:withData:actions:+74
帧#26:0x2d5e6c72 UIKit`-[UIStatusBarForegroundView\u setStatusBarData:actions:animated:+162
帧#27:0x2d5e6b96 UIKit`-[UIStatusBarForegroundView设置StatusBarData:actions:animated:+710
帧#28:0x2d671ebe UIKit`uu 44-[UIStatusBar\u prepareToSetStyle:animation:][u block\u invoke+358
帧#29:0x2d5fc230 UIKit`+[UIView(动画)性能无动画:+72
帧#30:0x2d66fcf4 UIKit`-[UIStatusBar prepareToSetStyle:animation:+688
帧#31:0x2d6579ca UIKit`-[UIStatusBar _requestStyleAttributes:animationParameters:+290
帧#32:0x2d65696e UIKit`-[UIStatusBar requestStyle:animated:+86
帧#33:0x2d65559a UIKit`-[UIApplication\u createStatusBarWithRequestedStyle:orientation:hidden:+406
帧#34:0x2d85122a UIKit`-[UIApplication\u使用主场景运行:transitionContext:completion:+970
帧#35:0x2d85bc68 UIKit`uuu 84-[UIApplication\u HandLeapApplicationActivationwithscene:transitionContext:completion:][u block\u invoke+36
帧#36:0x2d84fc5a UIKit`-[UIApplication WorkspaceDiEndTransaction:+130
帧#37:0x3086c0e0 FrontBoardServices`u 31-[FBSSerialQueue performAsync:][U block_invoke+12
帧#38:0x2a13782c CoreFoundation`\uu CFRUNLOOP\u正在调用\u OUT\u到\u块\uu+12
帧#39:0x2a136af0 CoreFoundation`\uU CFRunLoopDoBlocks+216
帧#40:0x2a13564a CoreFoundation`u CFRunLoopRun+1714
帧#41:0x2a082db0 CoreFoundation`CFRunLoopRunSpecific+476
帧#42:0x2a082bc2 CoreFoundation`CFRunLoopRunInMode+106
帧#43:0x2d653c36 UIKit`-[UIApplication_run]+558
帧#44:0x2d64ea30 UIKit`UIApplicationMain+1440
*帧#45:0x003b4ec2 Stox`main(argc=1,argv=0x01200b08)+178位于main处。m:17
第三:

 thread #1: tid = 0x1d96b, 0x36fbf540 libc++abi.dylib`__cxa_throw, queue = 'com.apple.main-thread', stop reason = breakpoint 3.2
    frame #0: 0x36fbf540 libc++abi.dylib`__cxa_throw
    frame #1: 0x30798c22 libTrueTypeScaler.dylib`ScalerNewBlock(memoryContext*, long, long, void*, unsigned char, unsigned char) + 430
    frame #2: 0x3077e172 libTrueTypeScaler.dylib`OutlineToPath(memoryContext*, fnt_ElementType const*) + 178
    frame #3: 0x3079502a libTrueTypeScaler.dylib`ObtainDesiredOutline(memoryContext*, fnt_ElementType const*, unsigned long, void**) + 10
    frame #4: 0x3077e07c libTrueTypeScaler.dylib`RenderPath(fsg_SplineKey*, memoryContext*, scalerGlyph const*) + 36
    frame #5: 0x3077c980 libTrueTypeScaler.dylib`TTRenderGlyphs + 436
    frame #6: 0x306c5722 libFontParser.dylib`TConcreteFontScaler::CopyGlyphPath(unsigned short, CGAffineTransform const*) const + 378
    frame #7: 0x306a0ce6 libFontParser.dylib`FPFontCopyGlyphPath + 494
    frame #8: 0x2a3abb4a CoreGraphics`CGFontCreateGlyphPath + 30
    frame #9: 0x2a3aba56 CoreGraphics`CGFontCreateGlyphBitmap + 266
    frame #10: 0x2a3b3c1a CoreGraphics`CGGlyphBuilder::create_missing_bitmaps(CGGlyphIdentifier const*, unsigned long, CGGlyphBitmap const**) + 82
    frame #11: 0x2a6fd4dc libRIP.A.dylib`render_glyphs + 172
    frame #12: 0x2a6fcaca libRIP.A.dylib`draw_glyph_bitmaps + 906
    frame #13: 0x2a6fc430 libRIP.A.dylib`ripc_DrawGlyphs + 1108
    frame #14: 0x2a3a1002 CoreGraphics`draw_glyphs + 274
    frame #15: 0x2aaae268 CoreText`DrawSbixGlyphsAtPositions(TFont const*, CGFont*, TCFRef<__CFData const*> const&, unsigned short const*, CGPoint const*, unsigned long, CGContext*, CGAffineTransform, CGAffineTransform) + 1880
    frame #16: 0x2aa6bcce CoreText`CTFontDrawGlyphsWithAdvances + 470
    frame #17: 0x349eba1a UIFoundation`__NSStringDrawingEngine + 6710
    frame #18: 0x349efa64 UIFoundation`-[NSAttributedString(NSExtendedStringDrawing) drawWithRect:options:context:] + 532
    frame #19: 0x2d603370 UIKit`-[UILabel _drawTextInRect:baselineCalculationOnly:] + 4440
    frame #20: 0x2d668ed4 UIKit`-[UILabel drawTextInRect:] + 488
    frame #21: 0x2d668ce8 UIKit`-[UILabel drawRect:] + 84
    frame #22: 0x2d668c70 UIKit`-[UIView(CALayerDelegate) drawLayer:inContext:] + 400
    frame #23: 0x2d045910 QuartzCore`-[CALayer drawInContext:] + 228
    frame #24: 0x2d02f350 QuartzCore`CABackingStoreUpdate_ + 2068
    frame #25: 0x2d110b6c QuartzCore`___ZN2CA5Layer8display_Ev_block_invoke + 52
    frame #26: 0x2d02eb34 QuartzCore`x_blame_allocations + 88
    frame #27: 0x2d02e7e4 QuartzCore`CA::Layer::display_() + 1156
    frame #28: 0x2d012d9c QuartzCore`CA::Layer::display_if_needed(CA::Transaction*) + 200
    frame #29: 0x2d012a60 QuartzCore`CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 24
    frame #30: 0x2d012446 QuartzCore`CA::Context::commit_transaction(CA::Transaction*) + 222
    frame #31: 0x2d012250 QuartzCore`CA::Transaction::commit() + 324
    frame #32: 0x2d5e51c8 UIKit`_afterCACommitHandler + 132
    frame #33: 0x2a137844 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 20
    frame #34: 0x2a134f28 CoreFoundation`__CFRunLoopDoObservers + 276
    frame #35: 0x2a13532a CoreFoundation`__CFRunLoopRun + 914
    frame #36: 0x2a082db0 CoreFoundation`CFRunLoopRunSpecific + 476
    frame #37: 0x2a082bc2 CoreFoundation`CFRunLoopRunInMode + 106
    frame #38: 0x313e7050 GraphicsServices`GSEventRunModal + 136
    frame #39: 0x2d64ea30 UIKit`UIApplicationMain + 1440
  * frame #40: 0x003b4ec2 Stox`main(argc=1, argv=0x01200b08) + 178 at main.m:17
thread#1:tid=0x1d96b,0x36fbf540 libc++abi.dylib`\uuu cxa\u throw,queue='com.apple.main thread',停止原因=断点3.2
帧#0:0x36fbf540 libc++abi.dylib`\uuuucxa\uthrow
帧#1:0x30798c22 libTrueTypeScaler.dylib`ScalerNewBlock(memoryContext*,long,long,void*,unsigned char,unsigned char)+430
帧#2:0x3077e172 libTrueTypeScaler.dylib`OutlineOpath(memoryContext*,fnt#u ElementType const*)+178
帧#3:0x3079502a libTrueTypeScaler.dylib`ActaineDesiredOutline(memoryContext*,fnt_ElementType const*,无符号长,void**)+10
帧#4:0x3077e07c libTrueTypeScaler.dylib`RenderPath(fsg#u SplineKey*,memoryContext*,scalerGlyph const*)+36
帧#5:0x3077c980 libTrueTypeScaler.dylib`TTRenderGlyphs+436
帧#6:0x306c5722 libFontParser.dylib`TConcreteFontScaler::CopyGlyphPath(无符号短,CGAffineTransform常量*)常量+378
帧#7:0x306a0ce6 libFontParser.dylib`FPFontCopyGlyphPath+494
帧#8:0x2A3AB4A CoreGraphics`CGFontCreateGlyphPath+30
帧#9:0x2a3aba56 CoreGraphics`CGFontCreateGlyphBitmap+266
帧#10:0x2a3b3c1a CoreGraphics`CGGlyphBuilder::创建缺少的位图(CGGlyphIdentifier常量*,无符号长,CGGlyphBitmap常量**)+82
帧#11:0x2a6fd4dc libRIP.A.dylib`render#u glyphs+172
帧#12:0x2a6fcaca libRIP.A.dylib`draw_glyph_位图+906
帧#13:0x2a6fc430 libRIP.A.dylib`ripc#u DrawGl
$ ~/W/X/project> grep -R "HelveticaNeue" ./
.//MyProject/Main.Storyboard:        <array key="HelveticaNeue.ttc">
.//MyProject/Main.Storyboard:            <string>HelveticaNeue</string>
.//MyProject/Main.Storyboard:                                <fontDescription key="fontDescription" name="HelveticaNeue" family="Helvetica Neue" pointSize="18"/>
user$ grep -R "HelveticaNeue" ./
Binary file .//MyProject.xcworkspace/xcuserdata/user.xcuserdatad/UserInterfaceState.xcuserstate matches