#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:  needs_review
   Priority:  major        |      Milestone:  sage-5.0    
  Component:  notebook     |       Keywords:              
Work_issues:               |       Upstream:  N/A         
   Reviewer:               |         Author:              
     Merged:               |   Dependencies:              
---------------------------+------------------------------------------------

Comment(by ppurka):

 Should line 192 of your patch contain the string as r""" """?
 {{{
         t = """%s<hr>> %s"""%(code, file)
 }}}
 I see that "< >" constructs are eaten away by the browser. An example code
 which you can use to debug your `Debug()` (pun intended :)) is the
 following:
 {{{
 ReedSolomonCode(15,2,GF(16,'a')).minimum_distance()
 }}}
 You need to go to stack frame 8, and look at line 396 of the code that is
 printed.

 Otherwise, it functions very nicely!

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7509#comment:8>
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.

Reply via email to