##// END OF EJS Templates
Merge pull request #12393 from Carreau/auto-backport-of-pr-12359-on-7.x...
Merge pull request #12393 from Carreau/auto-backport-of-pr-12359-on-7.x Manual backport of pr 12359 on 7.x

File last commit:

r25844:ad4453ed
r25846:3d900d38 merge
Show More
skip_tracebackhide.rst
11 lines | 705 B | text/x-rst | RstLexer
/ docs / source / whatsnew / pr / skip_tracebackhide.rst
Matthias Bussonnier
Backport PR #12359: Implement understanding on __tracebackhide__
r25844 The default tracebackmode will now skip frames that are marked with
``__tracebackhide__ = True`` and show how many traceback frames have been
skipped. This can be toggled by using :magic:`xmode` with the ``--show`` or
``--hide`` attribute. It will have no effect on non verbose traceback modes.
The ipython debugger also now understand ``__tracebackhide__`` as well and will
skip hidden frames when displaying. Movement up and down the stack will skip the
hidden frames and will show how many frames were hidden. Internal IPython frames
are also now hidden by default. The behavior can be changed with the
``skip_hidden`` command and accepts "yes", "no", "true" and "false" case
insensitive parameters.