Hi Stef,

oh yes I know about >>halt but it is not the same as getting an inspector;-)

Don't you agree with me that in this point, Pharo should have the same
behaviour as the ohter smalltalk dialects (VisualAge/IBM Smalltalk,
VisualWorks, Gemstone)?

Greetings
Sabine

On Sun, Jun 9, 2013 at 4:38 PM, Stéphane Ducasse [via Smalltalk]
<[email protected]> wrote:
> but halt is really a simple method
>
> you can introduce myHalt
>
> Object>>myHalt
>
> Halt signal.
>
> and you are done.
>
> Stef
>
> On Jun 9, 2013, at 9:58 AM, [hidden email] wrote:
>
> +1 to what Sabine says. Very useful behavior.
>
> Phil
>
>
> On Sun, Jun 9, 2013 at 8:03 AM, Sabine Knöfel <[hidden email]> wrote:
>>
>> I should give an example why this is not useful for me.
>>
>> While developing, I use >>inspect to see, what is in any object AND I want
>> the app to proceed.
>> E.g. while creating a report, I want to see the table columns in an
>> inspector.
>> I don't want to halt and debug, I only want to see an inspector.
>>
>> self currentPage        add:
>>                 (PDFDataTableWithColumnsCaptionElement new
>>                         captions: self costReportDaysTableColumns inspect;
>>                         data: ...;
>>
>> Now, I have to write it like that
>>
>> self costReportDaysTableColumns inspect.
>> self currentPage add:
>>                 (PDFDataTableWithColumnsCaptionElement new
>>                         captions: self costReportDaysTableColumns ;
>>                         data: ...;
>>
>> Yes, this is possible but it is not so easigoing as simply put an inspect
>> somewhere.
>>
>> Remarks:
>> 1) I develop a seaside app. I am not interested in the System Window;-)
>> 2) I cant find a selector >>onWindowClosed:
>> 3) >>inspect is a selector which exists in every smalltalk dialect. In
>> every
>> smalltalk dialect I worked with, inspect returned the receiver.  It is
>> kind
>> of standard IMHO.
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://forum.world.st/inspect-returns-iOf-SystemWindow-and-not-receiver-tp4692399p4692430.html
>> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>>
>>
>
>
>
>
> ________________________________
> If you reply to this email, your message will be added to the discussion
> below:
> http://forum.world.st/inspect-returns-iOf-SystemWindow-and-not-receiver-tp4692399p4692446.html
> To unsubscribe from inspect returns iOf SystemWindow and not receiver, click
> here.
> NAML




--
View this message in context: 
http://forum.world.st/inspect-returns-iOf-SystemWindow-and-not-receiver-tp4692399p4692586.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Reply via email to