On 9 abr, 12:46, David Joyner <wdjoy...@gmail.com> wrote:

>
> I think so. Does this roughly summarized correctly what you are requesting?
>
> When you enter a command which yields a traceback, you want
> Sage to return a link which you click on to get more information
> on the error. Also, the way that webpage is generated is to use code
> adapted from django.

Yes,  that's about right, but the main thing is that the traceback
should decribe the local variables at each level of the stack, as
shown on the screenshot of my original message.

>
>
>
> > On 9 abr, 12:17, David Joyner <wdjoy...@gmail.com> wrote:
> >> My first question is, can you implement this yourself
> >> (assuming you have django installed along with sage)?
>
> >> On Thu, Apr 9, 2009 at 6:55 AM, Flavio Coelho <fccoe...@gmail.com> wrote:
>
> >> > Hi,
>
> >> > I have a feature request for Sage Notebook interface:
>
> >> > It is the adoption of the debugging capabilities present in the Django
> >> > framework. An image here is worth a thousand words:
>
> >> >http://thoughtandtheory.com/blog/wp-content/uploads/2007/10/fbml_beta...
>
> >> > When django catches an error it creates a web page with the full
> >> > traceback (which Sage already provides), but also adds collapsible
> >> > <div>s with a list of the local variables at each level of the stack,
> >> > making it very easy to figure out what is going on with your code.
>
> >> > IMHO, this would be the best way to offer debugging capabilities to
> >> > sage code without resorting to complex integration with external
> >> > debuggers.
>
> >> > Besides, the python code and html templates are already written for
> >> > Django, which would make it reasonably easy to port to Sage
> >> > notebook...
>
> >> > thanks,
>
> >> > Flávio
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to