#16514: Expose IPython's show_crash_traceback and call_pdb crash behaviour
customization variables
---------------------------+----------------------------
Reporter: nthiery | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: sage-6.3
Component: scripts | Keywords:
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
---------------------------+----------------------------
Since a couple months, tracebacks are not more shown anymore in case of
crash on startup, and instead is written
in a file. This slows down the workflow when tracking such crashes.
The purpose of this ticket is to make it easy for a sage developer to
customize the behavior of Sage's intepreter in case of crash, and in
particular to specify whether the crash traceback should be shown, and
whether to start pdb. This could be either through new flags (e.g.
--debug) or in a config file in .sage.
The relevant lines are in `src/sage/repl/interpreter.py`, where Sage
implements a customized
crash handler `SageCrashHandler` deriving from `IPAppCrashHandler`,
setting by default `show_crash_traceback=False` and `call_pdb=False`.
--
Ticket URL: <http://trac.sagemath.org/ticket/16514>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.