Interactive console using Pydev in Eclipse?

前端 未结 5 1448
陌清茗
陌清茗 2020-12-23 16:48

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 \

5条回答
  •  忘掉有多难
    2020-12-23 17:34

    When I set a break point and hit F11 Eclipse launches the debugger and prompts to open the "Debug Perspective". You can then open the Window-->Show View --> Expressions which opens the expressions view, you can then right click in the Expressions view windows and choose "Add Watch Expression" to add any expression(such as dir) Conversely I was also able to type in dir(some expression) in the PyDev console and get the same effect. I'm using PyDev 1.4.6.2788

提交回复
热议问题