Debugging production errors

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Debugging production errors

Ken Treis
A couple of months ago we deployed a Seaside site and for the most  
part it's working well. But it's got some bugs too (inconceivable!).  
We've got an error handler on the application that emails the stack  
walkback, but that's not nearly as helpful as a debugger would be.

I noticed that seasidehosting.st does a cool thing: if you lose your  
password, it emails you a link to a session where you're already  
logged in. Is it possible to do this sort of thing with a generic  
callback? Could I email myself a link that opens a debugger?

--
Ken Treis
Miriam Technologies, Inc.

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: Debugging production errors

Sebastian Sastre-2
Hi Ken,

        there is no online debuger tool for Seaside (yet?) so what you are
asking for, security concers aside, would be a fantastic tool. A Smalltalk
debuger is not a simple tool to implement.
       
        Can you share a code to emails you the walkbak? I think it would be
useful for me when production time comes.

        thanks,

Sebastian Sastre

 

> -----Mensaje original-----
> De: [hidden email]
> [mailto:[hidden email]] En nombre
> de Ken Treis
> Enviado el: Viernes, 25 de Enero de 2008 17:05
> Para: Seaside - general discussion
> Asunto: [Seaside] Debugging production errors
>
> A couple of months ago we deployed a Seaside site and for the
> most part it's working well. But it's got some bugs too
> (inconceivable!).  
> We've got an error handler on the application that emails the
> stack walkback, but that's not nearly as helpful as a
> debugger would be.
>
> I noticed that seasidehosting.st does a cool thing: if you
> lose your password, it emails you a link to a session where
> you're already logged in. Is it possible to do this sort of
> thing with a generic callback? Could I email myself a link
> that opens a debugger?
>
> --
> Ken Treis
> Miriam Technologies, Inc.
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Debugging production errors

Ken Treis
On Jan 25, 2008, at 2:20 PM, Sebastian Sastre wrote:

> Hi Ken,
>
> there is no online debuger tool for Seaside (yet?) so what you are
> asking for, security concers aside, would be a fantastic tool. A  
> Smalltalk
> debuger is not a simple tool to implement.

I wasn't thinking of an online debugger, just a link that, when  
clicked, opened the debugger in the image. So when I get the email, I  
can click the link to go diagnose what went wrong. I can VNC into the  
server to debug.

> Can you share a code to emails you the walkbak? I think it would be
> useful for me when production time comes.

Sure -- it's pretty simple. This is for VisualWorks but should give  
you the general idea.  I should have used the SeasidePlatformSupport  
methods to send the email, and I probably should have made the sender  
address configurable. But it works for me.

--
Ken Treis
Miriam Technologies, Inc.



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

SeasideErrorNotifier.st (4K) Download Attachment