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
xinali
V2EX  ›  Python

vim 有没有这样的插件或是 python 的相关库

  •  
  •   xinali · 2016-07-27 22:05:10 +08:00 · 1832 次点击
    这是一个创建于 2822 天前的主题,其中的信息可能已经有所发展或是发生改变。

    主要用 vim 写代码,平时调试代码除了 print 以外就是 pdb/pudb ,今天突然有个需求,我描述一下我的需求,看看 v2 上有人知道相关的库或是插件吗? 需求:

    1. 可以像 pdb/pudb 那样,在代码中设置set_trace,可以直接在设置处进入调试
    2. 在调试的过程中可以改动源文件,之后可以手动或是自动载入
    2 条回复    2016-07-28 11:06:01 +08:00
    tracyone
        1
    tracyone  
       2016-07-27 22:32:50 +08:00
    pyclewn
    tankeco
        2
    tankeco  
       2016-07-28 11:06:01 +08:00
    1. 在想要断的地方打,适用单进程 from IPython import embed; embed()
    2. IPython 理论上也能改……
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3056 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 11:02 · PVG 19:02 · LAX 04:02 · JFK 07:02
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.