Process local variable and debugging

Terry Raymond traymond at craftedsmalltalk.com
Thu Feb 21 02:07:55 UTC 2002


> -----Original Message-----
> From: squeak-dev-admin at lists.squeakfoundation.org
> [mailto:squeak-dev-admin at lists.squeakfoundation.org]On Behalf 
> Of Anthony
> Hannan
> Sent: Wednesday, February 20, 2002 7:55 PM
> To: squeak-dev at lists.squeakfoundation.org
> Subject: RE: Process local variable and debugging
> 
> 
> Terry Raymond <traymond at craftedsmalltalk.com> wrote:
> > > > Ultimately, I think you would find a process faithful 
> > > debugger would be
> > > > the be solution.  This would also a
> > > I'd love one. I'll even offer to review the code if you 
> happen to have
> > > one sitting around in your disk tree :-)
> > 
> > It only takes a couple of days to write the guts.  If you 
> look at the current
> > version of VW you will see the technique they used.  Independently,
> > I arrived at the same basic technique.
> > 
> > Just download the VW NC version and study it.
> 
> I would called the BC debugger "process faithful" because it 
> always uses
> "thisContext process".

Well, to be more precise.  It is the process object being debugged
that runs the debugging operation in a process faithful debugger.
So any code that does an identity check to a stored process
reference will test properly when the debug operation executes
the code.  This test fails when the debugger, which is running
in the UI process, perfoms the actual byte code execution using
the context of a suspended process.

Terry

===========================================================
Terry Raymond       Smalltalk Professional Debug Package
Crafted Smalltalk   *Breakpoints* and *Watchpoints* for
80 Lazywood Ln.                  VW and ENVY/Developer 
Tiverton, RI  02878
(401) 624-4517      traymond at craftedsmalltalk.com
http://www.craftedsmalltalk.com
===========================================================
 




More information about the Squeak-dev mailing list