[Vm-dev] Re: [squeak-dev] 11 June Building report (2)

Eliot Miranda eliot.miranda at gmail.com
Wed Jun 15 16:40:52 UTC 2011


On Wed, Jun 15, 2011 at 9:36 AM, Chris Muller <asqueaker at gmail.com> wrote:

>
> > The .map file contains the addresses of all functions in the WIndows VM.
>  The VM uses this file to annotate its C stack backtrace when it crashes.
>  If you look in the cogwin.zip files I produce on my site you'll see there
> is always a Croquet.map file with every Croquet.exe.  So do keep the two
> together and deploy with the map file if you want good stack backtraces from
> Cog VMs on Windows.
>
> Thanks for the explanation.  One mini-issue I bump up against on
> Windows is the name of the executable.  I can set up file-association
> for .image to associate to squeak.exe (for the interpreter VM) or
> Croquet.exe for Cog.
>
> I ended up associating to squeak.exe and renaming Croquet.exe,
> Croquet.ini, and Croquet.map to squeak.exe, squeak.ini and squeak.map.
>  Everything seems to run fine, but will the map file work in this case
> or do you see any other potential problems about doing this?
>

There should be no problems. The VM computes the name of the .map file from
the name of the executable.  Renaming all three is indeed the right thing to
do.

best
Eliot


>
>  - Chris
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20110615/19b52442/attachment.htm


More information about the Squeak-dev mailing list