V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
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 · 2016-01-17 10:47:56 +08:00 · 2215 次点击
    这是一个创建于 3019 天前的主题,其中的信息可能已经有所发展或是发生改变。
    Xcode 添加完异常断点以后 会莫名其妙的在类似:
    UIButton* QRCodeButton = [UIButton buttonWithType:UIButtonTypeCustom];
    或者
    self = [super initWithFrame:frame];

    等地方停住,点击继续又可以继续执行。
    仔细检查过,没发现什么异常的地方。求说服,求教育。
    6 条回复    2016-01-22 23:29:49 +08:00
    BB9z
        1
    BB9z  
       2016-01-17 14:52:10 +08:00
    试试异常断点 catch 的类型改成只抓 Objective-C 的。
    sup
        2
    sup  
    OP
       2016-01-17 21:24:18 +08:00
    @BB9z 你好,我试过了,还是会停住。
    我已经苦寻了好久了,找不到答案。
    多谢
    xi_lin
        3
    xi_lin  
       2016-01-17 23:53:48 +08:00
    停住的时候左边调用栈显示什么?
    sup
        4
    sup  
    OP
       2016-01-18 10:15:02 +08:00
    @xi_lin 就是一些正常的函数调用逻辑。通过 LLDB bt 打印堆栈,输出的都是一些系统 Api 。
    sup
        5
    sup  
    OP
       2016-01-18 10:20:48 +08:00
    iOran
        6
    iOran  
       2016-01-22 23:29:49 +08:00
    我这边在 ios7.1.2 也会遇到,到 ios>8.0 并不会,楼主如果解决,请附带上答案。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5395 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 07:23 · PVG 15:23 · LAX 00:23 · JFK 03:23
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.