Speedup pydev debugging on python 2.6+

送分小仙女□ 提交于 2019-12-13 16:28:12

问题


PyDev reports it can use psyco to speed its debugger. However the most up-to-date psyco build I found for windows was for python 2.5.
Is there a way to speed-up pydev debugging, either with or without psyco, with newer 2.x versions such as 2.6 and 2.7?

In this relevant yet unanswered question there's a reference to pypy, could that be encorporated somehow?


回答1:


Yes, unfortunately, psyco seems unsupported at this time (its main developer went to work on pypy).

Pypy itself seems like a good choice if your program can run with it (many modules are currently unsupported in it -- especially modules using a c/c++ extension, so, although that may change in the future, it's unrealistic for many projects right now).

Still, in most of the use-cases, the debugger should work fast enough (a lot of time was spent optimizing it), and in the seldom use cases where it gets slow, the Remote Debugger ( http://pydev.org/manual_adv_remote_debugger.html ) can be used -- that way the program can run at max speed until it reaches a breakpoint in code.



来源:https://stackoverflow.com/questions/9015390/speedup-pydev-debugging-on-python-2-6

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!