Hello all,
With the understanding that I am doing non-trivial FFI work and could have completely fried my image already, I'm wondering if this is a common Squeak/Pharo newbie kind of amazement: I create and inspect a new instance of something that has a #printOn: method, and the contents of the inspector's workspace change with time. I have seen inspectors update to track objects in the past, but this behavior is unwanted. I thought of finalization, but that appears not to be happening (nor should it be with the object inspected). I will keep looking, but plausible explanations will be appreciated. Bill _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
Help....
This might be a problem in Pharo (RC1) in general or in its standard toolset, but I have a multi-line print string that when displayed in an inspector appears to try to edit the receiver and cause strangeness. Is that a known problem with a solution? Bill -----Original Message----- From: [hidden email] [mailto:[hidden email]] On Behalf Of Schwab,Wilhelm K Sent: Saturday, April 03, 2010 1:59 PM To: [hidden email] Subject: [Pharo-project] Dynamic content in inspector?? Hello all, With the understanding that I am doing non-trivial FFI work and could have completely fried my image already, I'm wondering if this is a common Squeak/Pharo newbie kind of amazement: I create and inspect a new instance of something that has a #printOn: method, and the contents of the inspector's workspace change with time. I have seen inspectors update to track objects in the past, but this behavior is unwanted. I thought of finalization, but that appears not to be happening (nor should it be with the object inspected). I will keep looking, but plausible explanations will be appreciated. Bill _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
http://www.squeaksource.com/EventsMonitor.html ?
Hernán 2010/4/4 Schwab,Wilhelm K <[hidden email]>: > Help.... > > This might be a problem in Pharo (RC1) in general or in its standard toolset, but I have a multi-line print string that when displayed in an inspector appears to try to edit the receiver and cause strangeness. Is that a known problem with a solution? > > Bill > > > > > -----Original Message----- > From: [hidden email] [mailto:[hidden email]] On Behalf Of Schwab,Wilhelm K > Sent: Saturday, April 03, 2010 1:59 PM > To: [hidden email] > Subject: [Pharo-project] Dynamic content in inspector?? > > Hello all, > > With the understanding that I am doing non-trivial FFI work and could have completely fried my image already, I'm wondering if this is a common Squeak/Pharo newbie kind of amazement: I create and inspect a new instance of something that has a #printOn: method, and the contents of the inspector's workspace change with time. > > I have seen inspectors update to track objects in the past, but this behavior is unwanted. I thought of finalization, but that appears not to be happening (nor should it be with the object inspected). > > I will keep looking, but plausible explanations will be appreciated. > > Bill > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
I certainly didn't install it, nor do I find EventMonitor in the image.
-----Original Message----- From: [hidden email] [mailto:[hidden email]] On Behalf Of Hernán Morales Durand Sent: Saturday, April 03, 2010 6:53 PM To: The general-purpose Squeak developers list Cc: [hidden email] Subject: Re: [Pharo-project] [squeak-dev] RE: Dynamic content in inspector?? http://www.squeaksource.com/EventsMonitor.html ? Hernán 2010/4/4 Schwab,Wilhelm K <[hidden email]>: > Help.... > > This might be a problem in Pharo (RC1) in general or in its standard toolset, but I have a multi-line print string that when displayed in an inspector appears to try to edit the receiver and cause strangeness. Is that a known problem with a solution? > > Bill > > > > > -----Original Message----- > From: [hidden email] > [mailto:[hidden email]] On Behalf Of > Schwab,Wilhelm K > Sent: Saturday, April 03, 2010 1:59 PM > To: [hidden email] > Subject: [Pharo-project] Dynamic content in inspector?? > > Hello all, > > With the understanding that I am doing non-trivial FFI work and could have completely fried my image already, I'm wondering if this is a common Squeak/Pharo newbie kind of amazement: I create and inspect a new instance of something that has a #printOn: method, and the contents of the inspector's workspace change with time. > > I have seen inspectors update to track objects in the past, but this behavior is unwanted. I thought of finalization, but that appears not to be happening (nor should it be with the object inspected). > > I will keep looking, but plausible explanations will be appreciated. > > Bill > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
If you want to monitor or track any object in a workspace-like morph
with a specific periodicity, then you may want to install the EventsMonitor package and implement your own monitor subclassing GenericMonitor and implementing #report and #windowTitle. EventMonitor and OBEventMonitor are just provided as examples. Cheers, Hernán 2010/4/4 Schwab,Wilhelm K <[hidden email]>: > I certainly didn't install it, nor do I find EventMonitor in the image. > > -----Original Message----- > From: [hidden email] [mailto:[hidden email]] On Behalf Of Hernán Morales Durand > Sent: Saturday, April 03, 2010 6:53 PM > To: The general-purpose Squeak developers list > Cc: [hidden email] > Subject: Re: [Pharo-project] [squeak-dev] RE: Dynamic content in inspector?? > > http://www.squeaksource.com/EventsMonitor.html ? > > Hernán > > 2010/4/4 Schwab,Wilhelm K <[hidden email]>: >> Help.... >> >> This might be a problem in Pharo (RC1) in general or in its standard toolset, but I have a multi-line print string that when displayed in an inspector appears to try to edit the receiver and cause strangeness. Is that a known problem with a solution? >> >> Bill >> >> >> >> >> -----Original Message----- >> From: [hidden email] >> [mailto:[hidden email]] On Behalf Of >> Schwab,Wilhelm K >> Sent: Saturday, April 03, 2010 1:59 PM >> To: [hidden email] >> Subject: [Pharo-project] Dynamic content in inspector?? >> >> Hello all, >> >> With the understanding that I am doing non-trivial FFI work and could have completely fried my image already, I'm wondering if this is a common Squeak/Pharo newbie kind of amazement: I create and inspect a new instance of something that has a #printOn: method, and the contents of the inspector's workspace change with time. >> >> I have seen inspectors update to track objects in the past, but this behavior is unwanted. I thought of finalization, but that appears not to be happening (nor should it be with the object inspected). >> >> I will keep looking, but plausible explanations will be appreciated. >> >> Bill >> >> _______________________________________________ >> Pharo-project mailing list >> [hidden email] >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >> >> > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
I appreciate the tip, but I'm trying to go the other direction: I want the inspector to stop messing around with what should be sleeping dogs. There really does appear to be some type of side effect of the multi-line print string, and no doubt the precise text I am displaying.
Bill -----Original Message----- From: [hidden email] [mailto:[hidden email]] On Behalf Of Hernán Morales Durand Sent: Saturday, April 03, 2010 7:40 PM To: [hidden email] Subject: Re: [Pharo-project] [squeak-dev] RE: Dynamic content in inspector?? If you want to monitor or track any object in a workspace-like morph with a specific periodicity, then you may want to install the EventsMonitor package and implement your own monitor subclassing GenericMonitor and implementing #report and #windowTitle. EventMonitor and OBEventMonitor are just provided as examples. Cheers, Hernán 2010/4/4 Schwab,Wilhelm K <[hidden email]>: > I certainly didn't install it, nor do I find EventMonitor in the image. > > -----Original Message----- > From: [hidden email] > [mailto:[hidden email]] On Behalf Of > Hernán Morales Durand > Sent: Saturday, April 03, 2010 6:53 PM > To: The general-purpose Squeak developers list > Cc: [hidden email] > Subject: Re: [Pharo-project] [squeak-dev] RE: Dynamic content in inspector?? > > http://www.squeaksource.com/EventsMonitor.html ? > > Hernán > > 2010/4/4 Schwab,Wilhelm K <[hidden email]>: >> Help.... >> >> This might be a problem in Pharo (RC1) in general or in its standard toolset, but I have a multi-line print string that when displayed in an inspector appears to try to edit the receiver and cause strangeness. Is that a known problem with a solution? >> >> Bill >> >> >> >> >> -----Original Message----- >> From: [hidden email] >> [mailto:[hidden email]] On Behalf Of >> Schwab,Wilhelm K >> Sent: Saturday, April 03, 2010 1:59 PM >> To: [hidden email] >> Subject: [Pharo-project] Dynamic content in inspector?? >> >> Hello all, >> >> With the understanding that I am doing non-trivial FFI work and could have completely fried my image already, I'm wondering if this is a common Squeak/Pharo newbie kind of amazement: I create and inspect a new instance of something that has a #printOn: method, and the contents of the inspector's workspace change with time. >> >> I have seen inspectors update to track objects in the past, but this behavior is unwanted. I thought of finalization, but that appears not to be happening (nor should it be with the object inspected). >> >> I will keep looking, but plausible explanations will be appreciated. >> >> Bill >> >> _______________________________________________ >> Pharo-project mailing list >> [hidden email] >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >> >> > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
I think you should fix your #printOn: method not to cause any
side-effects. #printOn: belongs to the public protocol and can be called by any tool at any time on any object. Lukas On 4 April 2010 02:58, Schwab,Wilhelm K <[hidden email]> wrote: > I appreciate the tip, but I'm trying to go the other direction: I want the inspector to stop messing around with what should be sleeping dogs. There really does appear to be some type of side effect of the multi-line print string, and no doubt the precise text I am displaying. > > Bill > > > -----Original Message----- > From: [hidden email] [mailto:[hidden email]] On Behalf Of Hernán Morales Durand > Sent: Saturday, April 03, 2010 7:40 PM > To: [hidden email] > Subject: Re: [Pharo-project] [squeak-dev] RE: Dynamic content in inspector?? > > If you want to monitor or track any object in a workspace-like morph with a specific periodicity, then you may want to install the EventsMonitor package and implement your own monitor subclassing GenericMonitor and implementing #report and #windowTitle. EventMonitor and OBEventMonitor are just provided as examples. > Cheers, > > Hernán > > 2010/4/4 Schwab,Wilhelm K <[hidden email]>: >> I certainly didn't install it, nor do I find EventMonitor in the image. >> >> -----Original Message----- >> From: [hidden email] >> [mailto:[hidden email]] On Behalf Of >> Hernán Morales Durand >> Sent: Saturday, April 03, 2010 6:53 PM >> To: The general-purpose Squeak developers list >> Cc: [hidden email] >> Subject: Re: [Pharo-project] [squeak-dev] RE: Dynamic content in inspector?? >> >> http://www.squeaksource.com/EventsMonitor.html ? >> >> Hernán >> >> 2010/4/4 Schwab,Wilhelm K <[hidden email]>: >>> Help.... >>> >>> This might be a problem in Pharo (RC1) in general or in its standard toolset, but I have a multi-line print string that when displayed in an inspector appears to try to edit the receiver and cause strangeness. Is that a known problem with a solution? >>> >>> Bill >>> >>> >>> >>> >>> -----Original Message----- >>> From: [hidden email] >>> [mailto:[hidden email]] On Behalf Of >>> Schwab,Wilhelm K >>> Sent: Saturday, April 03, 2010 1:59 PM >>> To: [hidden email] >>> Subject: [Pharo-project] Dynamic content in inspector?? >>> >>> Hello all, >>> >>> With the understanding that I am doing non-trivial FFI work and could have completely fried my image already, I'm wondering if this is a common Squeak/Pharo newbie kind of amazement: I create and inspect a new instance of something that has a #printOn: method, and the contents of the inspector's workspace change with time. >>> >>> I have seen inspectors update to track objects in the past, but this behavior is unwanted. I thought of finalization, but that appears not to be happening (nor should it be with the object inspected). >>> >>> I will keep looking, but plausible explanations will be appreciated. >>> >>> Bill >>> >>> _______________________________________________ >>> Pharo-project mailing list >>> [hidden email] >>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >>> >>> >> >> _______________________________________________ >> Pharo-project mailing list >> [hidden email] >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >> _______________________________________________ >> Pharo-project mailing list >> [hidden email] >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >> > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > -- Lukas Renggli www.lukas-renggli.ch _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
In reply to this post by hernanmd
sounds cool!
Stef On Apr 4, 2010, at 1:52 AM, Hernán Morales Durand wrote: > http://www.squeaksource.com/EventsMonitor.html ? > > Hernán > > 2010/4/4 Schwab,Wilhelm K <[hidden email]>: >> Help.... >> >> This might be a problem in Pharo (RC1) in general or in its standard toolset, but I have a multi-line print string that when displayed in an inspector appears to try to edit the receiver and cause strangeness. Is that a known problem with a solution? >> >> Bill >> >> >> >> >> -----Original Message----- >> From: [hidden email] [mailto:[hidden email]] On Behalf Of Schwab,Wilhelm K >> Sent: Saturday, April 03, 2010 1:59 PM >> To: [hidden email] >> Subject: [Pharo-project] Dynamic content in inspector?? >> >> Hello all, >> >> With the understanding that I am doing non-trivial FFI work and could have completely fried my image already, I'm wondering if this is a common Squeak/Pharo newbie kind of amazement: I create and inspect a new instance of something that has a #printOn: method, and the contents of the inspector's workspace change with time. >> >> I have seen inspectors update to track objects in the past, but this behavior is unwanted. I thought of finalization, but that appears not to be happening (nor should it be with the object inspected). >> >> I will keep looking, but plausible explanations will be appreciated. >> >> Bill >> >> _______________________________________________ >> Pharo-project mailing list >> [hidden email] >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >> >> > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
In reply to this post by Lukas Renggli
Lukas,
That is certainly a workaround, but I have serious reservations about any surprises that might result from text that I choose to display to represent an object and without subsequently interacting with the inspector. Bill -----Original Message----- From: [hidden email] [mailto:[hidden email]] On Behalf Of Lukas Renggli Sent: Sunday, April 04, 2010 2:46 AM To: [hidden email] Subject: Re: [Pharo-project] [squeak-dev] RE: Dynamic content in inspector?? I think you should fix your #printOn: method not to cause any side-effects. #printOn: belongs to the public protocol and can be called by any tool at any time on any object. Lukas On 4 April 2010 02:58, Schwab,Wilhelm K <[hidden email]> wrote: > I appreciate the tip, but I'm trying to go the other direction: I want the inspector to stop messing around with what should be sleeping dogs. There really does appear to be some type of side effect of the multi-line print string, and no doubt the precise text I am displaying. > > Bill > > > -----Original Message----- > From: [hidden email] > [mailto:[hidden email]] On Behalf Of > Hernán Morales Durand > Sent: Saturday, April 03, 2010 7:40 PM > To: [hidden email] > Subject: Re: [Pharo-project] [squeak-dev] RE: Dynamic content in inspector?? > > If you want to monitor or track any object in a workspace-like morph with a specific periodicity, then you may want to install the EventsMonitor package and implement your own monitor subclassing GenericMonitor and implementing #report and #windowTitle. EventMonitor and OBEventMonitor are just provided as examples. > Cheers, > > Hernán > > 2010/4/4 Schwab,Wilhelm K <[hidden email]>: >> I certainly didn't install it, nor do I find EventMonitor in the image. >> >> -----Original Message----- >> From: [hidden email] >> [mailto:[hidden email]] On Behalf Of >> Hernán Morales Durand >> Sent: Saturday, April 03, 2010 6:53 PM >> To: The general-purpose Squeak developers list >> Cc: [hidden email] >> Subject: Re: [Pharo-project] [squeak-dev] RE: Dynamic content in inspector?? >> >> http://www.squeaksource.com/EventsMonitor.html ? >> >> Hernán >> >> 2010/4/4 Schwab,Wilhelm K <[hidden email]>: >>> Help.... >>> >>> This might be a problem in Pharo (RC1) in general or in its standard toolset, but I have a multi-line print string that when displayed in an inspector appears to try to edit the receiver and cause strangeness. Is that a known problem with a solution? >>> >>> Bill >>> >>> >>> >>> >>> -----Original Message----- >>> From: [hidden email] >>> [mailto:[hidden email]] On Behalf Of >>> Schwab,Wilhelm K >>> Sent: Saturday, April 03, 2010 1:59 PM >>> To: [hidden email] >>> Subject: [Pharo-project] Dynamic content in inspector?? >>> >>> Hello all, >>> >>> With the understanding that I am doing non-trivial FFI work and could have completely fried my image already, I'm wondering if this is a common Squeak/Pharo newbie kind of amazement: I create and inspect a new instance of something that has a #printOn: method, and the contents of the inspector's workspace change with time. >>> >>> I have seen inspectors update to track objects in the past, but this behavior is unwanted. I thought of finalization, but that appears not to be happening (nor should it be with the object inspected). >>> >>> I will keep looking, but plausible explanations will be appreciated. >>> >>> Bill >>> >>> _______________________________________________ >>> Pharo-project mailing list >>> [hidden email] >>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >>> >>> >> >> _______________________________________________ >> Pharo-project mailing list >> [hidden email] >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >> _______________________________________________ >> Pharo-project mailing list >> [hidden email] >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >> > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > -- Lukas Renggli www.lukas-renggli.ch _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
Free forum by Nabble | Edit this page |