V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
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
kamushin
V2EX  ›  Python

介绍一些 Python 调试方法

  •  
  •   kamushin · May 21, 2016 · 4580 views
    This topic created in 3634 days ago, the information mentioned may be changed or developed.
    上次提了这个问题 http://www.v2ex.com/t/278958, 没有结果, 自己研究了下 Python 怎么调试 hang 住的程序, 总结了一些方法, 希望能帮助到需要的人.
    http://kamushin.github.io/debug/python.html
    8 replies    2016-05-22 23:00:35 +08:00
    ayaseangle
        1
    ayaseangle  
       May 21, 2016
    受用。
    joshz
        2
    joshz  
       May 21, 2016
    关于 Pelican 的审美,我们是一样的。
    kamushin
        3
    kamushin  
    OP
       May 21, 2016
    @joshz LOL
    mongost3t
        4
    mongost3t  
       May 21, 2016
    kamushin
        5
    kamushin  
    OP
       May 21, 2016
    @mongost3t 服的服的。这篇确实详实。
    timonwong
        6
    timonwong  
       May 21, 2016
    这种 hang 可以考虑一下 pyrasite 或者类似的。。
    kamushin
        7
    kamushin  
    OP
       May 21, 2016
    @timonwong 恩,这个我也试过. 不过还没好好摸清楚。只试过最简单的打开一个 console
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   896 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 23:05 · PVG 07:05 · LAX 16:05 · JFK 19:05
    ♥ Do have faith in what you're doing.