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
JasperYanky
V2EX  ›  iDev

不会用 Debug,断点都很少用,基本只用 NSLog

  •  
  •   JasperYanky · Mar 2, 2014 · 4313 views
    This topic created in 4462 days ago, the information mentioned may be changed or developed.
    1.是不是写的东西太简单了
    2.伸手党又来了,有没有相关的Debug资料共享?
    9 replies    1970-01-01 08:00:00 +08:00
    fangzhzh
        1
    fangzhzh  
       Mar 2, 2014
    如果能用NSLog解决, 也没必要用debug.
    laihj
        2
    laihj  
       Mar 2, 2014
    历年WWDC都有DEBUG相关专题
    middleware
        3
    middleware  
       Mar 3, 2014   ❤️ 3
    我估计你可能只知道 breakpoint 和 step。除此之外,debugger 还可以设置 watchpoint, conditional breakpoint, 修改变量。最重要的是,每个功能都提供当时的 callstack。
    66450146
        4
    66450146  
       Mar 3, 2014
    我知道的很多大神都是不用 gdb 直接 printf 的。。。
    JasperYanky
        5
    JasperYanky  
    OP
       Mar 3, 2014
    @middleware 感谢已发
    janxin
        6
    janxin  
       Mar 3, 2014 via iPad
    debug是解决bug的利器,可能是因为,没啥bug? :P
    zwzmzd
        7
    zwzmzd  
       Mar 4, 2014
    用输出函数来调试是一种通用的方法。不过结合断点来调试会更快一点,反正最终目的都是找出bug来
    yellowV2ex
        8
    yellowV2ex  
       Mar 4, 2014
    我一直不知道新建个项目现在有一个叫 Tests 的Target是有什么用?
    有时候别人开源的源码里也有个这东西
    JasperYanky
        9
    JasperYanky  
    OP
       Mar 4, 2014
    @yellowV2ex 我也不知道~ :)
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   956 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 61ms · UTC 21:27 · PVG 05:27 · LAX 14:27 · JFK 17:27
    ♥ Do have faith in what you're doing.