Eclipse中的PyDev远程调试器和Tab完成 [英] PyDev Remote Debugger and Tab Completion in Eclipse
问题描述
这可能是PyDev调试器的局限性,但有人会知道如何像在Eclipse调试控制台窗口中的普通Python shell中那样启用制表符完成和历史记录吗?
This might be a limitation of the PyDev debugger but would anyone know how to enable tab completion and history like in a plain Python shell in the Eclipse debug Console window?
按Tab键或箭头键仅会跳动/移动光标. PyDev远程调试器根据需要使用以下代码初始化:
Pressing tab or the arrow keys just jumps/moves the cursor. PyDev remote debugger is initialized as needed with following code:
from pydevsrc import pydevd;pydevd.settrace('<my ip>', stdoutToServer=True, stderrToServer=True, suspend=True)
from pydevsrc import pydevd;pydevd.settrace('<my ip>', stdoutToServer=True, stderrToServer=True, suspend=True)
推荐答案
您检查了
首选项-> PyDev->编辑器->代码完成->在调试控制台会话上使用代码完成功能吗?"
Preferences -> PyDev -> Editor -> Code Completion -> "Use code completion on debug console sessions?"
这篇关于Eclipse中的PyDev远程调试器和Tab完成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!