问题
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