#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-4.3
Component: notebook | Keywords:
Work_issues: | Author:
Reviewer: | Merged:
---------------------------+------------------------------------------------
Comment(by was):
Here's a proof concept interact, assuming one did:
{{{
d1 = debug()
}}}
at some point.
{{{
@interact
def _(command=[None, 'up','down'], code=''):
if command == 'up':
d1.up()
if command == 'down':
d1.down()
if code:
print "<html>>>> %s"%code
d1(code)
print '<hr></html>'
print d1
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7509#comment:3>
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=.