##// END OF EJS Templates
Fix `up` through generators in postmortem debugger...
Fix `up` through generators in postmortem debugger By passing the lowest traceback element into the debugger, we require it to use frame.f_back to find older frames. However, f_back is always None for generator frames. By providing a higher-up traceback element, pdb can traverse down the traceback.tb_next links, which do work correctly across generator calls. Furthermore, pdb will not do the right thing if it is provided with a frame/traceback pair that do not correspond to each other - it will duplicate parts of the callstack. Instead, we provide None as a frame, which will cause the debugger to start at the deepest frame, which is the desired behavior here.

File last commit:

r22679:367c6fe3
r24590:67eed532
Show More
index.rst
58 lines | 1.1 KiB | text/x-rst | RstLexer

Installation

This sections will guide you through :ref:`installing IPython itself <install>`, and installing :ref:`kernels for Jupyter <kernel_install>` if you wish to work with multiple version of Python, or multiple environments.

Quick install reminder

Here is a quick reminder of the commands needed for installation if you are already familiar with IPython and are just searching to refresh your memory:

Install IPython:

$ pip install ipython

Install and register an IPython kernel with Jupyter:

$ python -m pip install ipykernel

$ python -m ipykernel install [--user] [--name <machine-readable-name>] [--display-name <"User Friendly Name">]

for more help see

$ python -m ipykernel install  --help