[vwnc] Detailed stack dump

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

[vwnc] Detailed stack dump

Bruce Badger
Dear all,

What is the currently recommended way of getting a detailed stack dump
in VisualWorks?  I'm thinking of the kind of thing you'd want to find
in a log file after the image was long gone, containing the basic
stack plus values of arguments and instance variables etc.

I have use the RuntimeImageDumper from RTP before, which is nice and
comprehensive but I wondered if things had moved on.

Thanks,
    Bruce
--
Make the most of your skills - with OpenSkills
http://www.openskills.org/
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] Detailed stack dump

Terry Raymond
Bruce

Check out the stack dumper used by the debugger.
DebuggerService class>>logErrorFor:label:

Terry
 
===========================================================
Terry Raymond
Crafted Smalltalk
80 Lazywood Ln.
Tiverton, RI  02878
(401) 624-4517      [hidden email]
<http://www.craftedsmalltalk.com>
===========================================================

> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]] On Behalf Of Bruce Badger
> Sent: Monday, December 01, 2008 2:16 PM
> To: VW NC
> Subject: [vwnc] Detailed stack dump
>
> Dear all,
>
> What is the currently recommended way of getting a detailed stack dump
> in VisualWorks?  I'm thinking of the kind of thing you'd want to find
> in a log file after the image was long gone, containing the basic
> stack plus values of arguments and instance variables etc.
>
> I have use the RuntimeImageDumper from RTP before, which is nice and
> comprehensive but I wondered if things had moved on.
>
> Thanks,
>     Bruce
> --
> Make the most of your skills - with OpenSkills
> http://www.openskills.org/
> _______________________________________________
> vwnc mailing list
> [hidden email]
> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] Detailed stack dump

Alan Knight-2
In reply to this post by Bruce Badger
In 7.6, see ErrorNotifier.

At 02:15 PM 12/1/2008, Bruce Badger wrote:
Dear all,

What is the currently recommended way of getting a detailed stack dump
in VisualWorks?  I'm thinking of the kind of thing you'd want to find
in a log file after the image was long gone, containing the basic
stack plus values of arguments and instance variables etc.

I have use the RuntimeImageDumper from RTP before, which is nice and
comprehensive but I wondered if things had moved on.

Thanks,
    Bruce
--
Make the most of your skills - with OpenSkills
http://www.openskills.org/
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

--
Alan Knight [|], Engineering Manager, Cincom Smalltalk

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] Detailed stack dump

Bruce Badger
In reply to this post by Bruce Badger
Smashing.  Thanks chaps :-)

--
Make the most of your skills - with OpenSkills
http://www.openskills.org/
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] Detailed stack dump

Runar Jordahl
In reply to this post by Bruce Badger
Try this in 7.6:

| error |
[1 / 0] on: Error do: [:anException | error := anException ].
(RuntimePackager.RuntimeFullDumper ) dumpSystemImage: error context:
thisContext on: 'debugerror.log' asFilename

Runar
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc