Writing Stack dumps (.sdf files) in another directory

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

Writing Stack dumps (.sdf files) in another directory

tstalzer
Hi

Our server application is in a read-only directory (Well actually Windows XPembedded with EWF active) and we would like to write the stackdump files into another directory.

I tried to include a pathname with the filename for the "EsStackDumper" class however this did not have any effect ;-(

Is there a way to influence the location of the stack dumps?

Thanks
Regards

Thomas

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|

Re: Writing Stack dumps (.sdf files) in another directory

Douglas Swartz
Hello tstalzer,

In my experience, Stack dumps are written in whatever directory is the
working directory when you start the application. You can start the
application from a different directory than where the abt executable
resides. And your smalltalk image can be in a different directory, as
well, if you specify a full path to the image on the command line.

Doug

Thursday, April 11, 2013, 4:38:46 AM, you wrote:

> Hi

> Our server application is in a read-only directory (Well actually
> Windows XPembedded with EWF active) and we would like to write the
> stackdump files into another directory.


> I tried to include a pathname with the filename for the
> "EsStackDumper" class however this did not have any effect ;-(


> Is there a way to influence the location of the stack dumps?


> Thanks
> Regards


> Thomas



--
Best regards,
 Douglas                            mailto:[hidden email]

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply | Threaded
Open this post in threaded view
|

Re: Writing Stack dumps (.sdf files) in another directory

tstalzer
In reply to this post by tstalzer
Hi

I just found the solution myself. If I change the active directory with CfsDirectoryDescriptor chdir: <dir>, the stack dump will be placed in the specified directory.

I tried that before but I used chDir: instead of chdir: thus recursing the sdf output itself....

Thanks

Thomas

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.