Weird OB accept behavior

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Weird OB accept behavior

Schwab,Wilhelm K
I am using a 1.1.1 image with

   SystemBrowser defaultOpenBrowser  OBSystemBrowserAdaptor

I am debugging some code that I have not used for a while, so a few growing pains would not be a surprise.

What DOES surprise me is the following:

(1) select #plotFrom:to:using:keepGoing:plots: and accept the code; no errors are reported; fair enough (or is it?).
(2) edit the source (even just adding a harmless new line) and accept, and the compiler (correctly, it appears) complains that arguments are already defined.

I suspect the arguments are indeed stomping on instance variables that I added during the past year, and that confusion is the source of some seriously strange looking behavior.  The point is that accept is apparently doing nothing or failing silently until I actually edit the source.  I greatly prefer the error messages to silence; I assume the silence is related to a desire to get code loaded intact rather than having MC bark mid-load??

Bill




Reply | Threaded
Open this post in threaded view
|

Re: Weird OB accept behavior

Lukas Renggli
> (1) select #plotFrom:to:using:keepGoing:plots: and accept the code; no errors are reported; fair enough (or is it?).

The editor does not trigger the accept event if the text is not dirty.

Lukas

--
Lukas Renggli
www.lukas-renggli.ch

Reply | Threaded
Open this post in threaded view
|

Re: Weird OB accept behavior

Schwab,Wilhelm K
Lukas,

That explains it, but the very fact that I ran across this suggests that there is a reason to compile code as-is, so perhaps the check should be removed.

Bill



________________________________________
From: [hidden email] [[hidden email]] On Behalf Of Lukas Renggli [[hidden email]]
Sent: Wednesday, November 10, 2010 1:51 PM
To: [hidden email]
Subject: Re: [Pharo-project] Weird OB accept behavior

> (1) select #plotFrom:to:using:keepGoing:plots: and accept the code; no errors are reported; fair enough (or is it?).

The editor does not trigger the accept event if the text is not dirty.

Lukas

--
Lukas Renggli
www.lukas-renggli.ch


Reply | Threaded
Open this post in threaded view
|

Re: Weird OB accept behavior

Lukas Renggli
As I wrote, this is not an OB issue. Propose a change to Morphic.

Lukas

On 10 November 2010 22:39, Schwab,Wilhelm K <[hidden email]> wrote:

> Lukas,
>
> That explains it, but the very fact that I ran across this suggests that there is a reason to compile code as-is, so perhaps the check should be removed.
>
> Bill
>
>
>
> ________________________________________
> From: [hidden email] [[hidden email]] On Behalf Of Lukas Renggli [[hidden email]]
> Sent: Wednesday, November 10, 2010 1:51 PM
> To: [hidden email]
> Subject: Re: [Pharo-project] Weird OB accept behavior
>
>> (1) select #plotFrom:to:using:keepGoing:plots: and accept the code; no errors are reported; fair enough (or is it?).
>
> The editor does not trigger the accept event if the text is not dirty.
>
> Lukas
>
> --
> Lukas Renggli
> www.lukas-renggli.ch
>
>
>



--
Lukas Renggli
www.lukas-renggli.ch