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 <bschwab@anest.ufl.edu> 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: pharo-project-bounces@lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Hernán Morales Durand Sent: Saturday, April 03, 2010 7:40 PM To: Pharo-project@lists.gforge.inria.fr 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 <bschwab@anest.ufl.edu>:
I certainly didn't install it, nor do I find EventMonitor in the image.
-----Original Message----- From: pharo-project-bounces@lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Hernán Morales Durand Sent: Saturday, April 03, 2010 6:53 PM To: The general-purpose Squeak developers list Cc: Pharo-project@lists.gforge.inria.fr 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 <bschwab@anest.ufl.edu>:
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: pharo-project-bounces@lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Schwab,Wilhelm K Sent: Saturday, April 03, 2010 1:59 PM To: Pharo-project@lists.gforge.inria.fr 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 Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Lukas Renggli www.lukas-renggli.ch