在Eclipse中使用Pydev的交互式控制台? [英] Interactive console using Pydev in Eclipse?

查看:120
本文介绍了在Eclipse中使用Pydev的交互式控制台?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用Pydev插件在Eclipse中调试我的Python代码。我可以打开一个Pydev控制台,它给了我两个选择:控制台当前活动编辑器和Python控制台。但是没有一个对于在断点之后检查当前变量状态是有用的。

I'm debugging my Python code in Eclipse using the Pydev plugin. I'm able to open a Pydev console and it gives me two options: "Console for currently active editor" and "Python console". However none of them is useful to inspect current variable status after a breakpoint.

例如,代码在断点处停止,我想检查一个控制台。但是我的变量不可用。我怎么能做像dir(action)等事情? (即使不使用控制台)。

For example, the code stopped at a breakpoint and I want to inspect an "action" variable using the console. However my variables are not available. How can I do things like "dir(action)", etc? (even if it is not using a console).

推荐答案

此功能记录在此:

http://pydev.org/manual_adv_debug_console.html

这篇关于在Eclipse中使用Pydev的交互式控制台?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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