[plt-scheme] Re: PLT Scheme v207 doesn't install

From: Gordon Weakliem (gweakliem at oddpost.com)
Date: Sat May 22 00:13:39 EDT 2004

Another option would be to install the Debugging Tools for Windows [1], specifically the adplus[2] utility in "crash mode".  This will attach to a process and when the process crashes, it will generate a dump file that you can open with windbg.  DrWtsn is ok for basic info, but adplus/windbg info is much better, if you can get it. 
  
"d:\Program Files\Debugging Tools for Windows\adplus" -crash -pid <pid> 

[1] http://www.microsoft.com/whdc/devtools/debugging/default.mspx  
[2] http://support.microsoft.com/default.aspx?scid=kb;en-us;286350 
-- 
Gordon Weakliem 
http://www.eighty-twenty.net 
  
  
-----Original Message from Eli Barzilay <eli at barzilay.org>-----
  
For list-related administrative tasks: 
  http://list.cs.brown.edu/mailman/listinfo/plt-scheme 

On May 21, Eric Hanchrow wrote: 
>   For list-related administrative tasks: 
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme 
> 
> >>>>> "Eli" == Eli Barzilay <eli at barzilay.org> writes: 
> 
>     Eli> If there is anyone who encounters this problem, and has the 
>     Eli> MS compiler installed, it would be very helpful to invoke the 
>     Eli> debugger when mred crashes so we get a stack trace.   
> 
> I've got MSVC 6, and have hit the problem, but (embarrassing 
> question alert!) I don't know how to attach the debugger.  The best 
> I can imagine happening is: 
> [...] 

I *think* (this was a long time ago) that when a process crashes and 
you have the compiler installed, then you get some ok/cancel dialog 
with confusing text, and if you hit one of them then MSVC is invoked 
and attached to the running process.  (I think that the confusing part 
is that if you hit cancel you get the debugger, but I might be wrong.) 

OK, a few googles later, adn I found a page that explains how to do 
this.  It's called a "post mortem debugger", and the default 
Dr. Watson for that.  The page that describes this, and a way to 
re-enable Dr. Watson is at: 

  http://support.microsoft.com/default.aspx?scid=kb;en-us;Q121434 

I'm not sure that this will do the right thing -- Dr. Watson is the 
default thing, but the page will get you to the registry entry that is 
responsible for the postmortem debugger. 

Elsewhere, I found that if you run "drwtsn -i" then you get it 
installed, and then you run "drwtsn" to configure it. 

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay: 
                  http://www.barzilay.org/                 Maze is Life! 


Posted on the users mailing list.