推荐学习书目
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
ooleslie
V2EX  ›  Python

pycharm debug 的疑问

  •  
  •   ooleslie · Jan 17, 2019 · 2156 views
    This topic created in 2744 days ago, the information mentioned may be changed or developed.
    爬虫新手,经常遇到用 pycharm 调试,然后到某个步骤,debug 就一下子没掉的情况,陷入一点头绪都没有的境地。。。想请教下大家,这样一般怎么处理。。
    4 replies    2019-01-17 20:00:23 +08:00
    corningsun
        1
    corningsun  
       Jan 17, 2019   ❤️ 1
    试试 Evaluate Expression ?

    没开 Pycharm 拿 IDEA 截个图吧

    janxin
        2
    janxin  
       Jan 17, 2019 via Android
    没看懂呀?
    ooleslie
        3
    ooleslie  
    OP
       Jan 17, 2019
    @janxin 就是 debug 不是沿着断点一句一句的往下运行么。然后经常运行到某句的时候,整个 debug 的界面就断开,没法进行下去了
    ooleslie
        4
    ooleslie  
    OP
       Jan 17, 2019
    @janxin 今天遇到的情况搞明白了。。原来 scrapy 运行的时候要在 terminal,如果在 pycharm 中运行要特别指定 script
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3293 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 49ms · UTC 11:00 · PVG 19:00 · LAX 04:00 · JFK 07:00
    ♥ Do have faith in what you're doing.