<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">You can check out SmalltalkCI (<a href="https://github.com/hpi-swa/smalltalkCI" class="">https://github.com/hpi-swa/smalltalkCI</a>) if you want to see the Fuel serialisation of a stack at work. By default, for every failing test, the stack is serialized to disk using Fuel.<div class="">I don’t think there are Seaside-specific issues to mind, but perhaps somebody who is doing that already can chime in?</div><div class=""><br class=""></div><div class="">Johan<br class=""><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 1 Aug 2020, at 22:08, Esteban Maringolo <<a href="mailto:emaringolo@gmail.com" class="">emaringolo@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi Johan, <div class=""><br class=""></div><div class="">I wasn't aware of this Sentry integration, thanks for the reference (although it might seem overkill for my _current_ needs).</div><div class=""><br class=""></div><div class="">For other Seaside app I have a custom error handler that writes the stack to disk, but it leverages on some existing features, already provided by VisualWorks (+customer tweaks).</div><div class="">So I can do `anException dumpLogFile` and it will dump the whole stack trace to the globally specified "log dumps" directory.</div><div class=""><br class=""></div><div class="">But since doing a post-mortem analysis with Fuel could be a superior option, that's why I wanted to ask about its existence, before adding it to the list of "things to do whenever I have time" after I finish salvaging a VPS do-release-upgrade that went bananas :-D</div><div class=""><br class=""></div><div class="">Regards!</div><div class=""><br clear="all" class=""><div class=""><div dir="ltr" data-smartmail="gmail_signature" class="">Esteban A. Maringolo</div></div><br class=""></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Aug 1, 2020 at 3:33 PM Johan Brichau <<a href="mailto:johan@inceptive.be" target="_blank" class="">johan@inceptive.be</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class=""><div class="">In addition to ’saving the stack to the objectlog in Gemstone’, we also report the error to <a href="http://sentry.io/" target="_blank" class="">sentry.io</a> using a port of <a href="https://github.com/peteruhnak/pharo-sentry" target="_blank" class="">https://github.com/peteruhnak/pharo-sentry</a></div><div class="">Although I must say Sentry does not cope too well with the Smalltalk stack trace, there might be some room for improvement.</div><div class=""><br class=""></div><div class="">But there is hardly anything Seaside-specific to it, as you just need to subclass WAExceptionHandler and override the necessary handle methods with whatever you want to export.</div><div class=""><br class=""></div><div class="">Also: serializing the stack (printing) is probably quite different in each Smalltalk dialect. At least I know we have vastly different code between Pharo and GemStone for that.</div><div class=""><br class=""></div><div class="">cheers</div><div class="">Johan</div><div class=""><br class=""><blockquote type="cite" class=""><div class="">On 1 Aug 2020, at 19:22, Esteban Maringolo <<a href="mailto:emaringolo@gmail.com" target="_blank" class="">emaringolo@gmail.com</a>> wrote:</div><br class=""><div class=""><div dir="ltr" class="">Hi Jonathan,<div class=""><br class=""></div><div class="">I remember Mariano Martinez (who developed Fuel initially, cc: for the heads up) did something like this while working in the Quuve project, but with GemStone</div><div class="">I tried to access it but it's in SmalltalkHub and it is down now.</div><div class=""><br class=""></div><div class="">At this point a text dump of the stacktrace could work.</div><div class=""><br class=""></div><div class="">Regards!</div><div class=""><br class=""></div><div class=""><div class=""><div dir="ltr" class="">Esteban A. Maringolo</div></div><br class=""></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Aug 1, 2020 at 2:02 PM Jonathan van Alteren <<a href="mailto:jvalteren@objectguild.com" target="_blank" class="">jvalteren@objectguild.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div class="">
<div name="messageBodySection" class="">
<div dir="auto" class="">Hi Esteban,<br class="">
<br class="">
I've been wanting to do the same, but haven't had the time to implement this yet. However, I did find the following links that will be of use:<br class="">
<br class="">
<a href="https://marianopeck.blog/2012/01/19/moving-contexts-and-debuggers-between-images-with-fuel/" target="_blank" class="">https://marianopeck.blog/2012/01/19/moving-contexts-and-debuggers-between-images-with-fuel/</a><br class="">
<a href="https://github.com/ba-st/Launchpad/blob/release-candidate/docs/Debugging.md" target="_blank" class="">https://github.com/ba-st/Launchpad/blob/release-candidate/docs/Debugging.md</a><br class="">
<br class="">
Some of our fellow Smalltalkers have paved the road for us already ;-)<br class="">
<br class="">
I would love to hear about your results!<br class="">
<br class="">
<br class="">
Best,</div>
</div>
<div name="messageSignatureSection" class=""><br class="">
<div dir="auto" class=""><br class="">
<table class="">
<tbody class="">
<tr class="">
<td style="border-right:1px solid rgb(0,0,0);padding-right:1.2em" class=""><a href="https://objectguild.com/" target="_blank" class=""><img width="90" class=""></a></td>
<td style="padding-left:1em;vertical-align:top" class="">
<div dir="auto" class=""><b class="">Jonathan van Alteren</b></div>
<div dir="auto" class="">Founding Member | Object Guild B.V.</div>
<div dir="auto" class=""><i class="">Sustainable Software for Purpose-Driven Organizations</i></div>
<br class="">
<div dir="auto" class="">+316 22500930</div>
<div dir="auto" class=""><a href="mailto:jvalteren@objectguild.com" target="_blank" class="">jvalteren@objectguild.com</a></div>
</td>
<td valign="bottom" class=""><img width="65" class=""></td>
</tr>
</tbody>
</table>
</div>
</div>
<div name="messageReplySection" class="">On 1 Aug 2020, 17:32 +0200, Esteban Maringolo <<a href="mailto:emaringolo@gmail.com" target="_blank" class="">emaringolo@gmail.com</a>>, wrote:<br class="">
<blockquote type="cite" style="border-left:thin solid grey;margin:5px;padding-left:10px" class="">Hi all,<br class="">
<br class="">
Does anybody know about a publicly available Seaside Error handler<br class="">
that serializes the exception to disk (to a configurable location)<br class="">
either in a plaintext format or, ideally, using Fuel?<br class="">
<br class="">
Thanks!<br class="">
<br class="">
Esteban A. Maringolo<br class="">
_______________________________________________<br class="">
seaside mailing list<br class="">
<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank" class="">seaside@lists.squeakfoundation.org</a><br class="">
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank" class="">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br class=""></blockquote>
</div>
</div>

_______________________________________________<br class="">
seaside mailing list<br class="">
<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank" class="">seaside@lists.squeakfoundation.org</a><br class="">
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" rel="noreferrer" target="_blank" class="">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br class="">
</blockquote></div>
_______________________________________________<br class="">seaside mailing list<br class=""><a href="mailto:seaside@lists.squeakfoundation.org" target="_blank" class="">seaside@lists.squeakfoundation.org</a><br class=""><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank" class="">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br class=""></div></blockquote></div><br class=""></div>_______________________________________________<br class="">
seaside mailing list<br class="">
<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank" class="">seaside@lists.squeakfoundation.org</a><br class="">
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" rel="noreferrer" target="_blank" class="">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br class="">
</blockquote></div>
_______________________________________________<br class="">seaside mailing list<br class=""><a href="mailto:seaside@lists.squeakfoundation.org" class="">seaside@lists.squeakfoundation.org</a><br class="">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br class=""></div></blockquote></div><br class=""></div></div></body></html>