App Engine中的PyDev断点1.7.6坏了? [英] PyDev Breakpoints in App Engine 1.7.6 broken?

查看:142
本文介绍了App Engine中的PyDev断点1.7.6坏了?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚升级到适用于我的python应用程序的App Engine 1.7.6 SDK,并意识到断点不再适用于 PyDev (Eclipse插件)当使用新的 dev_appserver.py

I just upgraded to the App Engine 1.7.6 SDK for my python app and realised that breakpoints no longer work in PyDev (Eclipse plugin) when using the new dev_appserver.py.

有没有人知道再次启用它们的方法?我假设新的服务器正在为Web服务器生成一个新的进程,并且调试器没有附加到该进程。我不知道如何配置它来做到这一点。

Does anyone know of a way of enabling them again? I assume the new server is spawning a new process for the web server, and the debugger isn't attaching to that one. I'm not sure how to configure it to do that though.

在此期间,我使用 old_dev_appserver.py server。

In the meantime I am using the old_dev_appserver.py server.

推荐答案

更新2012-07-27:

UPDATE 2012-07-27:

在评论后,我验证,问题是在更新到
PyDev后解决的。 2.8和App Engine 1.8.2

Following the comment, I verified, the issue is solved after updating to PyDev. 2.8 and App Engine 1.8.2

OBSOLETE:

我发现以下分析问题在 googleappengine issues tracker

I found the following analysis of the problem at googleappengine issues tracker


PDB不工作的原因是因为dev_appserver正在使用
stdin / stdout进行进程间通信。 Python内置了
的IPC库: http://docs.python .ORG / 2 /库/ ipc.html
dev_appserver应该使用这些,然后stdin / stdout可以单独留下
,以便PDB仍然可以工作。

The reason why PDB doesn't work is because dev_appserver is using stdin/stdout for interprocess communication. Python has built-in libraries for IPC: http://docs.python.org/2/library/ipc.html. dev_appserver should use these, and then stdin/stdout can be left alone so that PDB still works.

所以似乎没有解决方法,而不是恢复使用old_dev_appserver.py

So it seems that there is no workaround, rather than reverting to use old_dev_appserver.py

更新2013-04-23:
无法调试是恼人的。
许多开发人员抱怨

UPDATE 2013-04-23: Inability to debug is annoying. Many developers complain about it


  1. App Engine中的PyDev断点1.7.6坏了?

  2. https://groups.google.com/forum/?fromgroups=#!topic/google- appengine / ep5BWYKpQpU

  3. https://groups.google.com/forum/?fromgroups=#!topic/google-appengine/TCQuJpF44cY

  4. https://code.google.com/p/appengine-devappserver2-experiment/问题/细节?id = 28

  5. https://code.google .com / p / googleappengine / issues / detail?id = 9012

  1. PyDev Breakpoints in App Engine 1.7.6 broken?
  2. https://groups.google.com/forum/?fromgroups=#!topic/google-appengine/ep5BWYKpQpU
  3. https://groups.google.com/forum/?fromgroups=#!topic/google-appengine/TCQuJpF44cY
  4. https://code.google.com/p/appengine-devappserver2-experiment/issues/detail?id=28
  5. https://code.google.com/p/googleappengine/issues/detail?id=9012

我正在跟踪这个问题在这里:
http://goo.gl/XRU01

I am keeping track of the development of this issue here: http://goo.gl/XRU01

这篇关于App Engine中的PyDev断点1.7.6坏了?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆