pydev: debug in console mode (interactive)?

让人想犯罪 __ 提交于 2019-12-10 02:59:00

问题


I'm just starting to use pydev but am fairly experienced with Eclipse.

I can use F11 to debug a file.

I can use Ctrl-Alt-Enter to start a console after running the current file, but it does not seem to respect breakpoints.

Is there a way to start a console (similar to Ctrl-Alt-Enter) in debug mode?


回答1:


There is another way to have a console in debug mode: start the debug, when reaching your first breakpoint (maybe you will want to add a breakpoint in line 1) the console in the debug perspective is in fact interactive.

Though the console is kind of laggy but it works, more info can be found at : http://pydev.org/manual_adv_debug_console.html




回答2:


Yes, this is now available in PyDev. See https://stackoverflow.com/a/25065948/110451 for details.



来源:https://stackoverflow.com/questions/6359157/pydev-debug-in-console-mode-interactive

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!