How to execute multi-line statements within Python’s own debugger (PDB)

So I am running a Python script within which I am calling Python’s debugger, PDB by writing: import ipdb; ipdb.set_trace() (iPython’s version of PDB, though for the matter I don’t think it makes a difference; I use it for the colored output only). Now, when I get to the debugger I want to execute a … Read more