Jump into a Python Interactive Session mid-program?

后端 未结 5 1287
陌清茗
陌清茗 2020-12-23 15:35

Hey I was wondering... I am using the pydev with eclipse and I\'m really enjoying the powerful debugging features, but I was wondering:

Is it possible to set

5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-23 16:10

    So roughly a year on from the OP's question, PyDev has this capability built in. I am not sure when this feature was introduced, but all I know is I've spent the last ~2hrs Googling... configuring iPython and whatever (which was looking like it would have done the job), but only to realise Eclipse/PyDev has what I want ootb.

    As soon as you hit a breakpoint in debug mode, the console is right there ready and waiting! I only didn't notice this as there is no prompt or blinking cursor; I had wrongly assumed it was a standard, output-only, console... but it's not. It even has code-completion.

    Great stuff, see http://pydev.org/manual_adv_debug_console.html for more details.

提交回复
热议问题