2 ms·
I'm not familiar with embedding ipython, so maybe I"m way off the mark, but I use ipdb for the use case you're referring to. Works within ipython and all
by mattdeboard 13y ago
I'm not familiar with embedding ipython, so maybe I"m way off the mark, but I use ipdb for the use case you're referring to. Works within ipython and all
- kghose 13y agoI should try ipdb. I've been using pdb (which I usually do using postmortem pdb.pm(), after my program crashes). But try out from IPython import embed; embed() instead of pdb.set_trace() It starts a whole IPython interpreter right there with all variables loaded. I like it because I can do inspection, plotting etc etc.
- mattdeboard 13y agoAh, yeah ipdb has much of the same functionality but not a full-fledged ipython instance, I don't believe.