问题
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