iOS 开发实用技术导航
NSHipster 中文版
http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
http://www.cocos2d-iphone.org/
CocoaPods
http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
http://code.google.com/mobile/analytics/
WWDC
https://developer.apple.com/wwdc/
Design Guides and Resources
https://developer.apple.com/design/
Transcripts of WWDC sessions
http://asciiwwdc.com
Cocoa with Love
http://cocoawithlove.com/
Cocoa Dev Central
http://cocoadevcentral.com/
NSHipster
http://nshipster.com/
Style Guides
Google Objective-C Style Guide
NYTimes Objective-C Style Guide
Useful Tools and Services
Charles Web Debugging Proxy
Smore
sup
V2EX  ›  iDev

Xcode 调试问题

  •  
  •   sup · Jan 17, 2016 · 2973 views
    This topic created in 3783 days ago, the information mentioned may be changed or developed.
    Xcode 添加完异常断点以后 会莫名其妙的在类似:
    UIButton* QRCodeButton = [UIButton buttonWithType:UIButtonTypeCustom];
    或者
    self = [super initWithFrame:frame];

    等地方停住,点击继续又可以继续执行。
    仔细检查过,没发现什么异常的地方。求说服,求教育。
    6 replies    2016-01-22 23:29:49 +08:00
    BB9z
        1
    BB9z  
       Jan 17, 2016
    试试异常断点 catch 的类型改成只抓 Objective-C 的。
    sup
        2
    sup  
    OP
       Jan 17, 2016
    @BB9z 你好,我试过了,还是会停住。
    我已经苦寻了好久了,找不到答案。
    多谢
    xi_lin
        3
    xi_lin  
       Jan 17, 2016
    停住的时候左边调用栈显示什么?
    sup
        4
    sup  
    OP
       Jan 18, 2016
    @xi_lin 就是一些正常的函数调用逻辑。通过 LLDB bt 打印堆栈,输出的都是一些系统 Api 。
    sup
        5
    sup  
    OP
       Jan 18, 2016
    iOran
        6
    iOran  
       Jan 22, 2016
    我这边在 ios7.1.2 也会遇到,到 ios>8.0 并不会,楼主如果解决,请附带上答案。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5351 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 54ms · UTC 08:02 · PVG 16:02 · LAX 01:02 · JFK 04:02
    ♥ Do have faith in what you're doing.