Re: Can I take stack trace ?
Posted by
Christopher J. Demers on
Nov 01, 2005; 10:04pm
URL: https://forum.world.st/Can-I-take-stack-trace-tp3376119p3376130.html
"Pavel" <
[hidden email]> wrote in message
news:4367dcf7$
[hidden email]...
>
>> Bruno wrote:
>> > The Stack is dumped to Professional.ERRORS (in your directory image).
>
>> Udo wrote:
>> > You can use Ghoul
>> > (
http://www.metagnostic.org/DolphinSmalltalk/Ghoul.html) to take a look
>> > at these files. Ghoul provides a Debugger-like View on these stack
>> > traces (w/o interaction with the dead objects of course).
>
> Tnx for reply, that's nice, but what about take image at that moment? May
> be
> Dolphin VM gives an opportunity to make snapshot image on unhandled
> exception? It would be very useful for analysis of the reason of a error,
> becouse for it need state of objects at that moment.
Saving the image may be a bit heavy handed and may not be useful for the
reasons Udo mentions. However it may be practical to save some relevant
objects to a file via STB. You can learn more here
http://www.object-arts.com/Lib/EducationCentre4/htm/binaryfilingobjects.htm
. You will just need to be careful that your error logging code does not
cause further errors.
Chris