在Eclipse中使用Pydev的交互式控制台? [英] Interactive console using Pydev in Eclipse?
问题描述
例如,代码在断点处停止,我想使用控制台。但是我的变量不可用。如何做dir(action)等事情? (即使不使用控制台)
此功能在此记载:
http://pydev.org/manual_adv_debug_console.html
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.
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).
This feature is documented here:
http://pydev.org/manual_adv_debug_console.html
这篇关于在Eclipse中使用Pydev的交互式控制台?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!