Process local variable and debugging
Stephen Pair
spair at advantive.com
Mon Feb 11 21:19:51 UTC 2002
The process that the debugger uses should not be the same as that which
is be used to step through the code. If the debugger can't use the
process being debugged to actually do the debugging, then at least it
should create a new process that resembles the original one.
- Stephen
> -----Original Message-----
> From: squeak-dev-admin at lists.squeakfoundation.org
> [mailto:squeak-dev-admin at lists.squeakfoundation.org] On
> Behalf Of Lex Spoon
> Sent: Monday, February 11, 2002 3:02 PM
> To: squeak-dev at lists.squeakfoundation.org
> Subject: RE: Process local variable and debugging
>
>
> "Stephen Pair" <spair at advantive.com> wrote:
> > Wouldn't it be better to clone the process local variables into the
> > process used for debugging rather than hack #activeProcess (which I
> > think would create more problems than it solves)?
> >
>
> I dunno, if you are debugging some code that does "Processor
> activeProcess", then what process should it get? I think the
> "hack" is desirable anyway.
>
> Also, remember that the debugger might want to use
> process-local variables, too. It shouldn't really be
> inheritting the debugged process's variables, should it?
>
> -Lex
>
>
More information about the Squeak-dev
mailing list
|