IPython embed() functionality at a breakpoint?

Feb 27, 2012 at 10:49 PM

Hi,

I was curious if its possible to get functionality similar to the following chunk of code at a breakpoint:

from IPython import embed

# Some code...
embed()

This code snippet actually works fine running out of VS, it launches IPython in the console.  However, it would be great if you could do something similar when you hit a breakpoint, e.g. be able to work out of interactive mode at a breakpoint.  Maybe you already can, if so, please let me know!

-Patrick

Coordinator
Feb 27, 2012 at 10:53 PM

I think you're looking for the "Debug REPL" feature which isn't yet implemented: http://pytools.codeplex.com/workitem/39

It's high on the list of things to do for the next release so voting for it will help move it up that list.

Feb 27, 2012 at 10:54 PM

Yup that looks like it, +1!