V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
awang
V2EX  ›  Python

Python 的 pdb 很方便啊

  •  
  •   awang · 2015-12-22 14:36:18 +08:00 · 3483 次点击
    这是一个创建于 3054 天前的主题,其中的信息可能已经有所发展或是发生改变。
    10 条回复    2015-12-23 11:41:39 +08:00
    yoa1q7y
        1
    yoa1q7y  
       2015-12-22 14:42:21 +08:00   ❤️ 1
    简单的还行
    复杂的还是 pycharm 吧
    wph95
        2
    wph95  
       2015-12-22 14:45:42 +08:00   ❤️ 2
    ipdb 大法好
    wlsnx
        3
    wlsnx  
       2015-12-22 15:44:39 +08:00   ❤️ 1
    pudb 更方便
    awang
        4
    awang  
    OP
       2015-12-22 18:26:49 +08:00
    @yoa1q7y 恩,调试 testcase 的场景下用到的, web 是用 pycham 的断点
    awang
        5
    awang  
    OP
       2015-12-22 18:28:22 +08:00
    @wph95
    @wlsnx 长知识了, tks
    ethego
        6
    ethego  
       2015-12-22 18:50:18 +08:00
    试试 wdb ,基于 pdb 封装来的
    googlebot
        7
    googlebot  
       2015-12-22 20:18:17 +08:00 via iPad
    一直是 print ,
    RqPS6rhmP3Nyn3Tm
        8
    RqPS6rhmP3Nyn3Tm  
       2015-12-22 20:27:26 +08:00 via iPad
    觉得还是 PyCharm 方便啊
    e1443367
        9
    e1443367  
       2015-12-22 21:50:38 +08:00
    还是 ipdb+ipdb.set_trace, 谁用谁知道
    kelmous
        10
    kelmous  
       2015-12-23 11:41:39 +08:00
    pycharm
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2271 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 08:03 · PVG 16:03 · LAX 01:03 · JFK 04:03
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.