#7509: notebook -- make it possible to debug Python code in the notebook, e.g.,
something like pdb that works in the notebook
---------------------------+------------------------------------------------
Reporter: was | Owner: boothby
Type: enhancement | Status: new
Priority: major | Milestone: sage-5.0
Component: notebook | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
---------------------------+------------------------------------------------
Comment(by was):
Steps to try this out interactively in the notebook:
1. install the patch and rebuild Sage.
2. Do anything that causes a traceback in the notebook, e.g.,
{{{EllipticCurve([0,0])}}}
3. Type {{{debug()}}} in any other notebook cell. You can move up and
down the call stack, adjust the amount of context, and evaluate code in
the box. These are the *only* features currently supported -- no setting
of breakpoints, stepping through execution, etc. But this is a very
useful first step.
Source code display for Cython code isn't implemented yet. That's for
another ticket. I think it's OK to put off, since the command line
debugger doesn't support it anyways.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7509#comment:6>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.