Show More
@@ -206,6 +206,12 b' class Pdb(OldPdb):' | |||||
206 |
|
206 | |||
207 | self.shell = get_ipython() |
|
207 | self.shell = get_ipython() | |
208 |
|
208 | |||
|
209 | if self.shell is None: | |||
|
210 | # No IPython instance running, we must create one | |||
|
211 | from IPython.terminal.interactiveshell import \ | |||
|
212 | TerminalInteractiveShell | |||
|
213 | self.shell = TerminalInteractiveShell.instance() | |||
|
214 | ||||
209 | if self.is_pydb: |
|
215 | if self.is_pydb: | |
210 |
|
216 | |||
211 | # interactiveshell.py's ipalias seems to want pdb's checkline |
|
217 | # interactiveshell.py's ipalias seems to want pdb's checkline |
General Comments 0
You need to be logged in to leave comments.
Login now